Android SDK Version
All Implemented Interfaces:
android.os.Parcelable , com.facebook.share.model.ShareModel


public final class GameRequestContent
 implements ShareModel
Describes the content that will be displayed by the GameRequestDialog
Nested Class Summary
Modifier and TypeClassDescription
public enumGameRequestContent.ActionType
public enumGameRequestContent.Filters
public classGameRequestContent.Builder
Builder class for a concrete instance of GameRequestContent
Field Summary
Modifier and TypeFieldDescription
private final Stringmessage
private final Stringcta
private final List<String>recipients
private final Stringtitle
private final Stringdata
private final GameRequestContent.ActionTypeactionType
private final StringobjectId
private final GameRequestContent.Filtersfilters
private final List<String>suggestions
public final static Parcelable.Creator<GameRequestContent>CREATOR
Method Summary
Modifier and TypeMethodDescription
StringgetMessage() Gets the message that users receiving the request will see.
StringgetCta() Gets the cta that users receiving the request will see.
List<String>getRecipients() Gets the user IDs or user names the request will be sent to.
StringgetTitle() Gets the optional title for the dialog
StringgetData() Gets optional data which can be used for tracking
GameRequestContent.ActionTypegetActionType() Gets the action type
StringgetObjectId() Gets the open graph id of the object that action type will be performed on
GameRequestContent.FiltersgetFilters() Get the filters
List<String>getSuggestions() Gets a list of suggested user ids
StringgetTo() Gets the user IDs or user names the request will be sent to.
intdescribeContents()
voidwriteToParcel(Parcel out, int flags)
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getMessage

StringgetMessage()
Gets the message that users receiving the request will see.

getCta

StringgetCta()
Gets the cta that users receiving the request will see.

getRecipients

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

getTitle

StringgetTitle()
Gets the optional title for the dialog

getData

StringgetData()
Gets optional data which can be used for tracking

getActionType

GameRequestContent.ActionTypegetActionType()
Gets the action type

getObjectId

StringgetObjectId()
Gets the open graph id of the object that action type will be performed on

getFilters

GameRequestContent.FiltersgetFilters()
Get the filters

getSuggestions

List<String> getSuggestions()
Gets a list of suggested user ids

getTo

StringgetTo()
Gets the user IDs or user names the request will be sent to.

describeContents

 int describeContents()

writeToParcel

 void writeToParcel(Parcel out, int flags)