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 final classGameRequestContent.Builder
Builder class for a concrete instance of GameRequestContent
public classGameRequestContent.Companion
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
private final Stringto
Method Summary
Modifier and TypeMethodDescription
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)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getMessage

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

getCta

 final StringgetCta()
Gets the cta 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.

getTitle

 final StringgetTitle()
Gets the optional title for the dialog

getData

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

getActionType

 final GameRequestContent.ActionTypegetActionType()
Gets the action type

getObjectId

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

getFilters

 final GameRequestContent.FiltersgetFilters()
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 StringgetTo()

describeContents

IntegerdescribeContents()

writeToParcel

UnitwriteToParcel(Parcel out, Integer flags)