Android SDK Version
- Mutable
- CollectionMapper
- AppCall
- CustomTab
- CustomTabUtils
- DialogFeature
- DialogPresenter
- FacebookDialogBase
- FacebookDialogFragment
- GamingAction
- FacebookWebFallbackDialog
- FragmentWrapper
- InstagramCustomTab
- PlatformServiceClient
- WebDialog
- AnalyticsEvents
- AttributionIdentifiers
- BoltsMeasurementEventListener
- BundleJSONConverter
- CallbackManagerImpl
- FacebookInitProvider
- FacebookRequestErrorClassification
- FacebookSignatureValidator
- FeatureManager
- FetchedAppGateKeepersManager
- FetchedAppSettings
- FetchedAppSettingsManager
- FileLruCache
- ImageDownloader
- ImageRequest
- ImageResponse
- ImageResponseCache
- InstallReferrerUtil
- InternalSettings
- LockOnGetVariable
- Logger
- NativeAppCallAttachmentStore
- NativeProtocol
- ServerProtocol
- SmartLoginOption
- UrlRedirectCache
- Utility
- Validate
- WorkQueue
- MessageDialog
- SendButton
- ShareButton
- ShareButtonBase
- GameRequestDialog
- ShareDialog
- MessageDialogFeature
- VideoUploader
- GameRequestValidation
- CameraEffectFeature
- CameraEffectJSONUtility
- LegacyNativeDialogParameters
- NativeDialogParameters
- ResultProcessor
- ShareConstants
- ShareContentValidation
- ShareDialogFeature
- ShareFeedContent
- ShareInternalUtility
- ShareStoryFeature
- WebDialogParameters
- ShareApi
- ShareBuilder
- Sharer
- Share
- ShareToMessengerParamsBuilder
- Messenger
- MessengerThreadParams
- MessengerUtils
- ShareToMessengerParams
- FacebookAppLinkResolver
- AppLinkData
- AppLinks
- AggregateException
- AppLink
- AppLinkResolver
- AppLinks
- CancellationToken
- CancellationTokenRegistration
- CancellationTokenSource
- Continuation
- ExecutorException
- Task
- TaskCompletionSource
- UnobservedTaskException
- AccessTokenTracker
- AuthenticationTokenTracker
- CustomTabActivity
- CustomTabMainActivity
- FacebookActivity
- FacebookAuthorizationException
- FacebookButtonBase
- FacebookCallback
- FacebookDialog
- FacebookDialogException
- LoginStatusCallback
- WebDialog
- AccessToken
- AccessTokenManager
- AccessTokenSource
- AuthenticationToken
- AuthenticationTokenCache
- AuthenticationTokenClaims
- AuthenticationTokenHeader
- AuthenticationTokenManager
- CallbackManager
- CurrentAccessTokenExpirationBroadcastReceiver
- FacebookBroadcastReceiver
- FacebookContentProvider
- FacebookException
- FacebookGraphResponseException
- FacebookOperationCanceledException
- FacebookRequestError
- FacebookSdk
- FacebookSdkNotInitializedException
- FacebookServiceException
- GraphRequest
- GraphRequestAsyncTask
- GraphRequestBatch
- GraphResponse
- HttpMethod
- LoggingBehavior
- Profile
- ProfileCache
- ProfileManager
- ProfileTracker
- ProgressNoopOutputStream
- ProgressOutputStream
- RequestProgress
- Common
- DeviceRequestsHelper
- EndToEndDumper
- CodeChallengeMethod
- CustomTabLoginMethodHandler
- CustomTabPrefetchHelper
- DeviceAuthDialog
- DeviceAuthMethodHandler
- GetTokenLoginMethodHandler
- KatanaProxyLoginMethodHandler
- LoginBehavior
- LoginClient
- LoginConfiguration
- LoginFragment
- LoginManager
- LoginMethodHandler
- LoginResult
- NativeAppLoginMethodHandler
- NonceUtil
- WebLoginMethodHandler
- WebViewLoginMethodHandler
- DefaultAudience
- LoginTargetApp
- DeviceLoginManager
- Login
- AppGroupCreationContent
- CameraEffectArguments
- CameraEffectTextures
- GameRequestContent
- ShareCameraEffectContent
- ShareContent
- ShareHashtag
- ShareLinkContent
- ShareMedia
- ShareMediaContent
- ShareMessengerActionButton
- ShareMessengerURLActionButton
- ShareModel
- ShareModelBuilder
- SharePhoto
- SharePhotoContent
- ShareStoryContent
- ShareVideo
- ShareVideoContent
- AccessTokenAppIdPair
- AppEvent
- AppEventsConstants
- AppEventsLogger
- AppEventsManager
- FlushResult
- InternalAppEventsLogger
- UserDataStore
- MetadataIndexer
- MetadataRule
- SettingsAPIFields
- AppEventsCAPIManager
- CustomEventField
- AppEventType
- AppEventUserAndAppDataField
- ConversionsAPISection
- ConversionsAPICustomEventField
- ConversionsAPIUserAndAppDataField
- ConversionsAPIEventName
- OtherEventConstants
- AppEventsConversionsAPITransformer
- AppEventsConversionsAPITransformerWebRequests
- CodelessLoggingEventListener
- CodelessManager
- RCTCodelessLoggingEventListener
- ViewIndexer
- Constants
- EventBinding
- ParameterComponent
- PathComponent
- SensitiveUserDataUtils
- UnityReflection
- ViewHierarchy
- EventDeactivationManager
- InAppPurchaseActivityLifecycleTracker
- InAppPurchaseAutoLogger
- InAppPurchaseBillingClientWrapper
- InAppPurchaseEventManager
- InAppPurchaseLoggerManager
- InAppPurchaseManager
- InAppPurchaseSkuDetailsWrapper
- InAppPurchaseUtils
- IntegrityManager
- ActivityLifecycleTracker
- AppEventUtility
- AppEventsLoggerUtility
- AutomaticAnalyticsLogger
- Constants
- FileDownloadTask
- ViewHierarchyConstants
- MTensor
- Model
- ModelManager
- Utils
- OnDeviceProcessingManager
- RemoteServiceWrapper
- RestrictiveDataManager
- SuggestedEventsManager
- ViewOnClickListener
- Core
- GateKeeper
- GateKeeperRuntimeCache
- ExceptionAnalyzer
- InstrumentData
- InstrumentManager
- InstrumentUtility
- ANRDetector
- ANRHandler
- CrashHandler
- AutoHandleExceptions
- CrashShieldHandler
- NoAutoExceptionHandling
- ErrorReportData
- ErrorReportHandler
- ThreadCheckHandler
- Excuse
- ExcusesForDesignViolations
- CertificateUtil
- OidcSecurityUtil
- DeviceLoginButton
- LoginButton
- ProfilePictureView
- ToolTipPopup
- All
All Implemented Interfaces:
com.facebook.share.ShareBuilder
, com.facebook.share.model.ShareModelBuilder
public final class GameRequestContent.Builder implements ShareModelBuilder<GameRequestContent, GameRequestContent.Builder>
Builder class for a concrete instance of GameRequestContent
Method Summary
Modifier and Type | Method | Description |
---|---|---|
final GameRequestContent.Builder | setMessage(String message) | Sets the message users receiving the request will see. |
final GameRequestContent.Builder | setCta(String cta) | Sets the cta users receiving the request will see. |
final GameRequestContent.Builder | setTo(String to) | Sets the user ID or user name the request will be sent to. |
final GameRequestContent.Builder | setRecipients(List<String> recipients) | An array of user IDs, usernames or invite tokens of people to send request. |
final GameRequestContent.Builder | setData(String data) | Sets optional data which can be used for tracking; maximum length is 255 characters. |
final GameRequestContent.Builder | setTitle(String title) | Sets an optional title for the dialog; maximum length is 50 characters. |
final GameRequestContent.Builder | setActionType(GameRequestContent.ActionType actionType) | Sets the action type for this request |
final GameRequestContent.Builder | setObjectId(String objectId) | Sets the open graph id of the object that action type will be performed on Only valid (and required) for ActionTypes SEND, ASKFOR |
final GameRequestContent.Builder | setFilters(GameRequestContent.Filters filters) | Sets the filters for everybody/app users/non app users |
final GameRequestContent.Builder | setSuggestions(List<String> suggestions) | Sets a list of user ids suggested as request receivers |
GameRequestContent | build() | Builds the object. |
GameRequestContent.Builder | readFrom(GameRequestContent content) | Reads the values from a ShareModel into the builder. |
Method Detail
setMessage
final GameRequestContent.BuildersetMessage(String message)
Sets the message users receiving the request will see. The maximum length is 60 characters.
Parameters:
message
- the messagesetCta
final GameRequestContent.BuildersetCta(String cta)
Sets the cta users receiving the request will see. The maximum length is 10 characters.
Parameters:
cta
- the cta for the messagesetTo
@Deprecated(message = Replaced by {@link #setRecipients(List)}) final GameRequestContent.BuildersetTo(String to)
Sets the user ID or user name the request will be sent to. If this is not specified, a friend selector will be displayed and the user can select up to 50 friends.
Parameters:
to
- the id or user name to send the request tosetRecipients
final GameRequestContent.BuildersetRecipients(List<String> recipients)
An array of user IDs, usernames or invite tokens of people to send request. If this is not specified, a friend selector will be displayed and the user can select up to 50 friends.
This is equivalent to the "to" parameter when using the web game request dialog.
Parameters:
recipients
- the list of user ids to send the request tosetData
final GameRequestContent.BuildersetData(String data)
Sets optional data which can be used for tracking; maximum length is 255 characters.
Parameters:
data
- the datasetTitle
final GameRequestContent.BuildersetTitle(String title)
Sets an optional title for the dialog; maximum length is 50 characters.
Parameters:
title
- the titlesetActionType
final GameRequestContent.BuildersetActionType(GameRequestContent.ActionType actionType)
Sets the action type for this request
setObjectId
final GameRequestContent.BuildersetObjectId(String objectId)
Sets the open graph id of the object that action type will be performed on Only valid (and required) for ActionTypes SEND, ASKFOR
setFilters
final GameRequestContent.BuildersetFilters(GameRequestContent.Filters filters)
Sets the filters for everybody/app users/non app users
setSuggestions
final GameRequestContent.BuildersetSuggestions(List<String> suggestions)
Sets a list of user ids suggested as request receivers
readFrom
GameRequestContent.BuilderreadFrom(GameRequestContent content)
Reads the values from a ShareModel into the builder.
Parameters:
content
- The source ShareModel