-
- 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 enum
GameRequestContent.ActionType
public enum
GameRequestContent.Filters
public final class
GameRequestContent.Builder
Builder class for a concrete instance of GameRequestContent
public class
GameRequestContent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
message
private final String
cta
private final List<String>
recipients
private final String
title
private final String
data
private final GameRequestContent.ActionType
actionType
private final String
objectId
private final GameRequestContent.Filters
filters
private final List<String>
suggestions
private final String
to
-
Method Summary
Modifier and Type Method Description final String
getMessage()
Gets the message that users receiving the request will see. final String
getCta()
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 String
getTitle()
Gets the optional title for the dialog final String
getData()
Gets optional data which can be used for tracking final GameRequestContent.ActionType
getActionType()
Gets the action type final String
getObjectId()
Gets the open graph id of the object that action type will be performed on final GameRequestContent.Filters
getFilters()
Get the filters final List<String>
getSuggestions()
Gets a list of suggested user ids final String
getTo()
Integer
describeContents()
Unit
writeToParcel(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)
-
-
-
-