-
- 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 final classGameRequestContent.BuilderBuilder class for a concrete instance of GameRequestContent
public classGameRequestContent.Companion
-
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>suggestionsprivate final Stringto
-
Method Summary
Modifier and Type Method Description final StringgetMessage()Gets the message that users receiving the request will see. final StringgetCta()Gets the cta that users receiving the request will see. final List<String>getRecipients()Gets the user IDs or user names the request will be sent to. final StringgetTitle()Gets the optional title for the dialog final StringgetData()Gets optional data which can be used for tracking final GameRequestContent.ActionTypegetActionType()Gets the action type final StringgetObjectId()Gets the open graph id of the object that action type will be performed on final GameRequestContent.FiltersgetFilters()Get the filters final List<String>getSuggestions()Gets a list of suggested user ids final StringgetTo()IntegerdescribeContents()UnitwriteToParcel(Parcel out, Integer flags)-
-
Method Detail
-
getMessage
final String getMessage()
Gets the message that users receiving the request will see.
-
getRecipients
final List<String> getRecipients()
Gets the user IDs or user names the request will be sent to.
-
getActionType
final GameRequestContent.ActionType getActionType()
Gets the action type
-
getObjectId
final String getObjectId()
Gets the open graph id of the object that action type will be performed on
-
getFilters
final GameRequestContent.Filters getFilters()
Get the filters
-
getSuggestions
final List<String> getSuggestions()
Gets a list of suggested user ids
-
getTo
@Deprecated(message = Replaced by [getRecipients()], replaceWith = @ReplaceWith(imports = {}, expression = getRecipients)) final String getTo()
-
describeContents
Integer describeContents()
-
writeToParcel
Unit writeToParcel(Parcel out, Integer flags)
-
-
-
-