-
- 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
Nested Classes Modifier and Type Class Description public enumGameRequestContent.ActionTypepublic enumGameRequestContent.Filterspublic classGameRequestContent.BuilderBuilder class for a concrete instance of GameRequestContent
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final Stringctaprivate final List<String>recipientsprivate final Stringtitleprivate final Stringdataprivate final GameRequestContent.ActionTypeactionTypeprivate final StringobjectIdprivate final GameRequestContent.Filtersfiltersprivate final List<String>suggestionspublic final static Parcelable.Creator<GameRequestContent>CREATOR
-
Method Summary
Modifier and Type Method Description 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)-
-
Method Detail
-
getMessage
String getMessage()
Gets the message that users receiving the request will see.
-
getRecipients
List<String> getRecipients()
Gets the user IDs or user names the request will be sent to.
-
getActionType
GameRequestContent.ActionType getActionType()
Gets the action type
-
getObjectId
String getObjectId()
Gets the open graph id of the object that action type will be performed on
-
getFilters
GameRequestContent.Filters getFilters()
Get the filters
-
getSuggestions
List<String> getSuggestions()
Gets a list of suggested user ids
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel out, int flags)
-
-
-
-