Android SDK Version
  • java.lang.Object
    • com.facebook.share.model.GameRequestContent
All Implemented Interfaces:

public final class GameRequestContent
extends java.lang.Object
implements ShareModel
Describes the content that will be displayed by the GameRequestDialog
Nested Class Summary
Modifier and TypeClass and Description
static class GameRequestContent.ActionType 
static class GameRequestContent.Builder
Builder class for a concrete instance of GameRequestContent
static class GameRequestContent.Filters 
Field Summary
Modifier and TypeField and Description
static <any>CREATOR 
Method Summary
Modifier and TypeMethod and Description
intdescribeContents() 
GameRequestContent.ActionTypegetActionType()
Gets the action type
java.lang.StringgetData()
Gets optional data which can be used for tracking
GameRequestContent.FiltersgetFilters()
Get the filters
java.lang.StringgetMessage()
Gets the message that users receiving the request will see.
java.lang.StringgetObjectId()
Gets the open graph id of the object that action type will be performed on
java.util.List<java.lang.String>getRecipients()
Gets the user IDs or user names the request will be sent to.
java.util.List<java.lang.String>getSuggestions()
Gets a list of suggested user ids
java.lang.StringgetTitle()
Gets the optional title for the dialog
java.lang.StringgetTo()
Deprecated. 
Replaced by getRecipients()
voidwriteToParcel(Parcel out, int flags) 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

CREATOR

public static final <any> CREATOR
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message that users receiving the request will see.

getTo

public java.lang.String getTo()
Deprecated. Replaced by getRecipients()
Gets the user IDs or user names the request will be sent to.

getRecipients

public java.util.List<java.lang.String> getRecipients()
Gets the user IDs or user names the request will be sent to.

getTitle

public java.lang.String getTitle()
Gets the optional title for the dialog

getData

public java.lang.String getData()
Gets optional data which can be used for tracking

getActionType

public GameRequestContent.ActionType getActionType()
Gets the action type

getObjectId

public java.lang.String getObjectId()
Gets the open graph id of the object that action type will be performed on

getFilters

public GameRequestContent.Filters getFilters()
Get the filters

getSuggestions

public java.util.List<java.lang.String> getSuggestions()
Gets a list of suggested user ids

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel out,
                          int flags)