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
public class WebDialog.Builder
Field Summary
Modifier and Type | Field | Description |
---|---|---|
private Context | context | |
private String | applicationId | |
private Integer | theme | |
private WebDialog.OnCompleteListener | listener | |
private Bundle | parameters |
Constructor Summary
Constructor | Description |
---|---|
WebDialog.Builder(Context context, String action, Bundle parameters) | Constructor that builds a dialog using either the current access token, or the application id specified in the application/meta-data. |
WebDialog.Builder(Context context, String applicationId, String action, Bundle parameters) | Constructor that builds a dialog without an authenticated user. |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
final Context | getContext() | |
final Unit | setContext(Context context) | |
final String | getApplicationId() | |
final Unit | setApplicationId(String applicationId) | |
final Integer | getTheme() | |
final Unit | setTheme(Integer theme) | |
final WebDialog.OnCompleteListener | getListener() | |
final Unit | setListener(WebDialog.OnCompleteListener listener) | |
final Bundle | getParameters() | |
final Unit | setParameters(Bundle parameters) | |
final WebDialog.Builder | setTheme(Integer theme) | Sets a theme identifier which will be passed to the underlying Dialog. |
final WebDialog.Builder | setOnCompleteListener(WebDialog.OnCompleteListener listener) | Sets the listener which will be notified when the dialog finishes. |
WebDialog | build() | Constructs a WebDialog using the parameters provided. |
Constructor Detail
WebDialog.Builder
WebDialog.Builder(Context context, String action, Bundle parameters)
Constructor that builds a dialog using either the current access token, or the application id specified in the application/meta-data.
Parameters:
context
- the Context within which the dialog will be shown.action
- the portion of the dialog URL following www.facebook.com/dialog/.parameters
- a Bundle containing parameters to pass as part of the URL.WebDialog.Builder
WebDialog.Builder(Context context, String applicationId, String action, Bundle parameters)
Constructor that builds a dialog without an authenticated user.
Parameters:
context
- the Context within which the dialog will be shown.applicationId
- the application ID to be included in the dialog URL.action
- the portion of the dialog URL following www.facebook.com/dialog/.parameters
- a Bundle containing parameters to pass as part of the URL.Method Detail
getContext
final ContextgetContext()
setContext
final UnitsetContext(Context context)
getApplicationId
final StringgetApplicationId()
setApplicationId
final UnitsetApplicationId(String applicationId)
getListener
final WebDialog.OnCompleteListenergetListener()
setListener
final UnitsetListener(WebDialog.OnCompleteListener listener)
getParameters
final BundlegetParameters()
setParameters
final UnitsetParameters(Bundle parameters)
setTheme
final WebDialog.BuildersetTheme(Integer theme)
Sets a theme identifier which will be passed to the underlying Dialog.
Parameters:
theme
- a theme identifier which will be passed to the Dialog classsetOnCompleteListener
final WebDialog.BuildersetOnCompleteListener(WebDialog.OnCompleteListener listener)
Sets the listener which will be notified when the dialog finishes.
Parameters:
listener
- the listener to notify, or null if no notification is desired