Android SDK Version
- AccessToken
- AccessToken.AccessTokenCreationCallback
- AccessToken.AccessTokenRefreshCallback
- AccessTokenManager
- AccessTokenSource
- AccessTokenTracker
- AddressFilterManager
- All
- AppEvent
- AppEventsConstants
- AppEventsLogger
- AppEventsLogger.FlushBehavior
- AppEventsLogger.ProductAvailability
- AppEventsLogger.ProductCondition
- AppEventsManager
- AppGroupCreationContent
- AppGroupCreationContent.AppGroupPrivacy
- AppGroupCreationContent.Builder
- AppInviteContent
- AppInviteContent.Builder
- AppInviteContent.Builder.Destination
- AppInviteDialog
- AppInviteDialog.Result
- AppLinkData
- AppLinkData.CompletionHandler
- AppLinks
- CallbackManager
- CallbackManager.Factory
- CameraEffectArguments
- CameraEffectArguments.Builder
- CameraEffectTextures
- CameraEffectTextures.Builder
- CodelessLoggingEventListener
- CodelessLoggingEventListener.AutoLoggingOnClickListener
- CodelessLoggingEventListener.AutoLoggingOnItemClickListener
- CodelessManager
- Common
- Core
- CreateAppGroupDialog
- CreateAppGroupDialog.Result
- CurrentAccessTokenExpirationBroadcastReceiver
- CurrentPlaceFeedbackRequestParams
- CurrentPlaceFeedbackRequestParams.Builder
- CurrentPlaceRequestParams
- CurrentPlaceRequestParams.Builder
- CurrentPlaceRequestParams.ConfidenceLevel
- CurrentPlaceRequestParams.ScanMode
- CustomTabActivity
- CustomTabLoginMethodHandler
- CustomTabMainActivity
- DefaultAudience
- DeviceAuthDialog
- DeviceLoginButton
- DeviceLoginManager
- DeviceShareButton
- DeviceShareDialog
- DeviceShareDialog.Result
- EventDeactivationManager
- FacebookActivity
- FacebookAppLinkResolver
- FacebookAuthorizationException
- FacebookBroadcastReceiver
- FacebookButtonBase
- FacebookCallback
- FacebookContentProvider
- FacebookDialog
- FacebookDialogException
- FacebookException
- FacebookGraphResponseException
- FacebookOperationCanceledException
- FacebookRequestError
- FacebookRequestError.Category
- FacebookSdk
- FacebookSdk.InitializeCallback
- FacebookSdkNotInitializedException
- FacebookServiceException
- FlushResult
- GameRequestContent
- GameRequestContent.ActionType
- GameRequestContent.Builder
- GameRequestContent.Filters
- GameRequestDialog
- GameRequestDialog.Result
- GraphRequest
- GraphRequest.Callback
- GraphRequest.GraphJSONArrayCallback
- GraphRequest.GraphJSONObjectCallback
- GraphRequest.OnProgressCallback
- GraphRequest.ParcelableResourceWithMimeType
- GraphRequestAsyncTask
- GraphRequestBatch
- GraphRequestBatch.Callback
- GraphRequestBatch.OnProgressCallback
- GraphResponse
- GraphResponse.PagingDirection
- HttpMethod
- InternalAppEventsLogger
- JoinAppGroupDialog
- JoinAppGroupDialog.Result
- LikeView
- LikeView.AuxiliaryViewPosition
- LikeView.HorizontalAlignment
- LikeView.ObjectType
- LikeView.OnErrorListener
- LikeView.Style
- LoggingBehavior
- Login
- LoginBehavior
- LoginButton
- LoginButton.ToolTipMode
- LoginFragment
- LoginManager
- LoginResult
- LoginStatusCallback
- MessageDialog
- Messenger
- MessengerThreadParams
- MessengerThreadParams.Origin
- MessengerUtils
- MetadataIndexer
- Model
- ModelManager
- PlaceFields
- PlaceInfoRequestParams
- PlaceInfoRequestParams.Builder
- PlaceManager
- PlaceManager.LocationError
- PlaceManager.OnRequestReadyCallback
- Places
- PlaceSearchRequestParams
- PlaceSearchRequestParams.Builder
- Profile
- ProfileManager
- ProfilePictureView
- ProfilePictureView.OnErrorListener
- ProfileTracker
- RCTCodelessLoggingEventListener
- RCTCodelessLoggingEventListener.AutoLoggingOnTouchListener
- RestrictiveDataManager
- SendButton
- Share
- ShareApi
- ShareBuilder
- ShareButton
- ShareButtonBase
- ShareCameraEffectContent
- ShareCameraEffectContent.Builder
- ShareContent
- ShareContent.Builder
- ShareDialog
- ShareDialog.Mode
- ShareGraphRequest
- ShareHashtag
- ShareHashtag.Builder
- ShareLinkContent
- ShareLinkContent.Builder
- ShareMedia
- ShareMedia.Builder
- ShareMedia.Type
- ShareMediaContent
- ShareMediaContent.Builder
- ShareMessengerActionButton
- ShareMessengerActionButton.Builder
- ShareMessengerGenericTemplateContent
- ShareMessengerGenericTemplateContent.Builder
- ShareMessengerGenericTemplateContent.ImageAspectRatio
- ShareMessengerGenericTemplateElement
- ShareMessengerGenericTemplateElement.Builder
- ShareMessengerMediaTemplateContent
- ShareMessengerMediaTemplateContent.Builder
- ShareMessengerMediaTemplateContent.MediaType
- ShareMessengerOpenGraphMusicTemplateContent
- ShareMessengerOpenGraphMusicTemplateContent.Builder
- ShareMessengerURLActionButton
- ShareMessengerURLActionButton.Builder
- ShareMessengerURLActionButton.WebviewHeightRatio
- ShareModel
- ShareModelBuilder
- ShareOpenGraphAction
- ShareOpenGraphAction.Builder
- ShareOpenGraphContent
- ShareOpenGraphContent.Builder
- ShareOpenGraphObject
- ShareOpenGraphObject.Builder
- ShareOpenGraphValueContainer
- ShareOpenGraphValueContainer.Builder
- SharePhoto
- SharePhoto.Builder
- SharePhotoContent
- SharePhotoContent.Builder
- Sharer
- Sharer.Result
- ShareStoryContent
- ShareStoryContent.Builder
- ShareToMessengerParams
- ShareToMessengerParamsBuilder
- ShareVideo
- ShareVideo.Builder
- ShareVideoContent
- ShareVideoContent.Builder
- SuggestedEventsManager
- ToolTipPopup
- ToolTipPopup.Style
- UserDataStore
- Utils
- ViewIndexer
- ViewOnClickListener
- WebDialog
- java.lang.Object
- com.facebook.share.model.ShareMessengerGenericTemplateElement.Builder
All Implemented Interfaces:
Enclosing class:
public static class ShareMessengerGenericTemplateElement.Builder extends java.lang.Object implements ShareModelBuilder<ShareMessengerGenericTemplateElement,ShareMessengerGenericTemplateElement.Builder>
Builder for the
ShareMessengerGenericTemplateElement
class.Method Summary
Modifier and Type | Method and Description |
---|---|
ShareMessengerGenericTemplateElement | build() Builds the object. |
ShareMessengerGenericTemplateElement.Builder | readFrom(ShareMessengerGenericTemplateElement model) Reads the values from a ShareModel into the builder. |
ShareMessengerGenericTemplateElement.Builder | setButton(ShareMessengerActionButton button) Set the button to append to the bottom of the generic template. |
ShareMessengerGenericTemplateElement.Builder | setDefaultAction(ShareMessengerActionButton defaultAction) Set the default action executed when this shared generic template is tapped. |
ShareMessengerGenericTemplateElement.Builder | setImageUrl(Uri imageUrl) Set the image url that will be downloaded and rendered at the top of the generic template. |
ShareMessengerGenericTemplateElement.Builder | setSubtitle(java.lang.String subtitle) Set the rendered subtitle for the shared generic template element. |
ShareMessengerGenericTemplateElement.Builder | setTitle(java.lang.String title) Set the rendered title for the shared generic template element. |
Method Detail
setTitle
public ShareMessengerGenericTemplateElement.Builder setTitle(java.lang.String title)
Set the rendered title for the shared generic template element. Required.
setSubtitle
public ShareMessengerGenericTemplateElement.Builder setSubtitle(java.lang.String subtitle)
Set the rendered subtitle for the shared generic template element. Optional.
setImageUrl
public ShareMessengerGenericTemplateElement.Builder setImageUrl(Uri imageUrl)
Set the image url that will be downloaded and rendered at the top of the generic template. Optional.
setDefaultAction
public ShareMessengerGenericTemplateElement.Builder setDefaultAction(ShareMessengerActionButton defaultAction)
Set the default action executed when this shared generic template is tapped. Optional.
setButton
public ShareMessengerGenericTemplateElement.Builder setButton(ShareMessengerActionButton button)
Set the button to append to the bottom of the generic template.
build
public ShareMessengerGenericTemplateElement build()
Description copied from interface:
ShareBuilder
Builds the object.
Specified by:
build
in interface ShareBuilder<ShareMessengerGenericTemplateElement,ShareMessengerGenericTemplateElement.Builder>
Returns:
The built object.
readFrom
public ShareMessengerGenericTemplateElement.Builder readFrom(ShareMessengerGenericTemplateElement model)
Description copied from interface:
ShareModelBuilder
Reads the values from a ShareModel into the builder.
Specified by:
readFrom
in interface ShareModelBuilder<ShareMessengerGenericTemplateElement,ShareMessengerGenericTemplateElement.Builder>
Parameters:
model
- The source ShareModelReturns:
The builder.