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 NativeProtocol
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Nested Class Summary
Modifier and Type | Class | Description |
---|---|---|
public abstract class | NativeProtocol.NativeAppInfo | |
public final class | NativeProtocol.ProtocolVersionQueryResult |
Field Summary
Method Summary
Method Detail
validateActivityIntent
final static IntentvalidateActivityIntent(Context context, Intent intent, NativeProtocol.NativeAppInfo appInfo)
validateServiceIntent
final static IntentvalidateServiceIntent(Context context, Intent intent, NativeProtocol.NativeAppInfo appInfo)
createInstagramIntent
final static IntentcreateInstagramIntent(Context context, String applicationId, Collection<String> permissions, String e2e, Boolean isRerequest, Boolean isForPublish, DefaultAudience defaultAudience, String clientState, String authType, String messengerPageId, Boolean resetMessengerState, Boolean isFamilyLogin, Boolean shouldSkipAccountDedupe)
createProxyAuthIntents
final static List<Intent> createProxyAuthIntents(Context context, String applicationId, Collection<String> permissions, String e2e, Boolean isRerequest, Boolean isForPublish, DefaultAudience defaultAudience, String clientState, String authType, Boolean ignoreAppSwitchToLoggedOut, String messengerPageId, Boolean resetMessengerState, Boolean isFamilyLogin, Boolean shouldSkipAccountDedupe, String nonce, String codeChallenge, String codeChallengeMethod)
getLatestKnownVersion
final static IntegergetLatestKnownVersion()
isVersionCompatibleWithBucketedIntent
final static BooleanisVersionCompatibleWithBucketedIntent(Integer version)
createPlatformActivityIntent
final static IntentcreatePlatformActivityIntent(Context context, String callId, String action, NativeProtocol.ProtocolVersionQueryResult versionResult, Bundle extras)
Will create an Intent that can be used to invoke an action in a Facebook app via the Native Protocol
setupProtocolRequestIntent
final static UnitsetupProtocolRequestIntent(Intent intent, String callId, String action, Integer version, Bundle params)
Will setup the passed in Intent in the shape of a Native Protocol request Intent.
createProtocolResultIntent
final static IntentcreateProtocolResultIntent(Intent requestIntent, Bundle results, FacebookException error)
Use this method to set a result on an Activity, where the result needs to be in the shape of the native protocol used for native dialogs.
createPlatformServiceIntent
final static IntentcreatePlatformServiceIntent(Context context)
getProtocolVersionFromIntent
final static IntegergetProtocolVersionFromIntent(Intent intent)
getCallIdFromIntent
final static UUIDgetCallIdFromIntent(Intent intent)
getBridgeArgumentsFromIntent
final static BundlegetBridgeArgumentsFromIntent(Intent intent)
getMethodArgumentsFromIntent
final static BundlegetMethodArgumentsFromIntent(Intent intent)
getSuccessResultsFromIntent
final static BundlegetSuccessResultsFromIntent(Intent resultIntent)
isErrorResult
final static BooleanisErrorResult(Intent resultIntent)
getErrorDataFromResultIntent
final static BundlegetErrorDataFromResultIntent(Intent resultIntent)
getExceptionFromErrorData
final static FacebookExceptiongetExceptionFromErrorData(Bundle errorData)
createBundleForException
final static BundlecreateBundleForException(FacebookException e)
getLatestAvailableProtocolVersionForService
final static IntegergetLatestAvailableProtocolVersionForService(Integer minimumVersion)
getLatestAvailableProtocolVersionForAction
final static NativeProtocol.ProtocolVersionQueryResultgetLatestAvailableProtocolVersionForAction(String action, IntArray versionSpec)
updateAllAvailableProtocolVersionsAsync
final static UnitupdateAllAvailableProtocolVersionsAsync()
computeLatestAvailableVersionFromVersionSpec
final static IntegercomputeLatestAvailableVersionFromVersionSpec(TreeSet<Integer> allAvailableFacebookAppVersions, Integer latestSdkVersion, IntArray versionSpec)
getNO_PROTOCOL_AVAILABLE
final IntegergetNO_PROTOCOL_AVAILABLE()
getFACEBOOK_PROXY_AUTH_PERMISSIONS_KEY
final StringgetFACEBOOK_PROXY_AUTH_PERMISSIONS_KEY()
getFACEBOOK_PROXY_AUTH_APP_ID_KEY
final StringgetFACEBOOK_PROXY_AUTH_APP_ID_KEY()
getFACEBOOK_PROXY_AUTH_E2E_KEY
final StringgetFACEBOOK_PROXY_AUTH_E2E_KEY()
getFACEBOOK_SDK_VERSION_KEY
final StringgetFACEBOOK_SDK_VERSION_KEY()
getINTENT_ACTION_PLATFORM_ACTIVITY
final StringgetINTENT_ACTION_PLATFORM_ACTIVITY()
getINTENT_ACTION_PLATFORM_SERVICE
final StringgetINTENT_ACTION_PLATFORM_SERVICE()
getPROTOCOL_VERSION_20121101
final IntegergetPROTOCOL_VERSION_20121101()
getPROTOCOL_VERSION_20130502
final IntegergetPROTOCOL_VERSION_20130502()
getPROTOCOL_VERSION_20130618
final IntegergetPROTOCOL_VERSION_20130618()
getPROTOCOL_VERSION_20131024
final IntegergetPROTOCOL_VERSION_20131024()
getPROTOCOL_VERSION_20131107
final IntegergetPROTOCOL_VERSION_20131107()
getPROTOCOL_VERSION_20140204
final IntegergetPROTOCOL_VERSION_20140204()
getPROTOCOL_VERSION_20140313
final IntegergetPROTOCOL_VERSION_20140313()
getPROTOCOL_VERSION_20140324
final IntegergetPROTOCOL_VERSION_20140324()
getPROTOCOL_VERSION_20140701
final IntegergetPROTOCOL_VERSION_20140701()
getPROTOCOL_VERSION_20141001
final IntegergetPROTOCOL_VERSION_20141001()
getPROTOCOL_VERSION_20141028
final IntegergetPROTOCOL_VERSION_20141028()
getPROTOCOL_VERSION_20141107
final IntegergetPROTOCOL_VERSION_20141107()
getPROTOCOL_VERSION_20141218
final IntegergetPROTOCOL_VERSION_20141218()
getPROTOCOL_VERSION_20150401
final IntegergetPROTOCOL_VERSION_20150401()
getPROTOCOL_VERSION_20150702
final IntegergetPROTOCOL_VERSION_20150702()
getPROTOCOL_VERSION_20160327
final IntegergetPROTOCOL_VERSION_20160327()
getPROTOCOL_VERSION_20161017
final IntegergetPROTOCOL_VERSION_20161017()
getPROTOCOL_VERSION_20170213
final IntegergetPROTOCOL_VERSION_20170213()
getPROTOCOL_VERSION_20170411
final IntegergetPROTOCOL_VERSION_20170411()
getPROTOCOL_VERSION_20170417
final IntegergetPROTOCOL_VERSION_20170417()
getPROTOCOL_VERSION_20171115
final IntegergetPROTOCOL_VERSION_20171115()
getPROTOCOL_VERSION_20210906
final IntegergetPROTOCOL_VERSION_20210906()
getEXTRA_PROTOCOL_VERSION
final StringgetEXTRA_PROTOCOL_VERSION()
getEXTRA_PROTOCOL_ACTION
final StringgetEXTRA_PROTOCOL_ACTION()
getEXTRA_PROTOCOL_CALL_ID
final StringgetEXTRA_PROTOCOL_CALL_ID()
getEXTRA_GET_INSTALL_DATA_PACKAGE
final StringgetEXTRA_GET_INSTALL_DATA_PACKAGE()
getEXTRA_PROTOCOL_BRIDGE_ARGS
final StringgetEXTRA_PROTOCOL_BRIDGE_ARGS()
getEXTRA_PROTOCOL_METHOD_ARGS
final StringgetEXTRA_PROTOCOL_METHOD_ARGS()
getEXTRA_PROTOCOL_METHOD_RESULTS
final StringgetEXTRA_PROTOCOL_METHOD_RESULTS()
getBRIDGE_ARG_APP_NAME_STRING
final StringgetBRIDGE_ARG_APP_NAME_STRING()
getBRIDGE_ARG_ACTION_ID_STRING
final StringgetBRIDGE_ARG_ACTION_ID_STRING()
getBRIDGE_ARG_ERROR_BUNDLE
final StringgetBRIDGE_ARG_ERROR_BUNDLE()
getEXTRA_DIALOG_COMPLETE_KEY
final StringgetEXTRA_DIALOG_COMPLETE_KEY()
getEXTRA_DIALOG_COMPLETION_GESTURE_KEY
final StringgetEXTRA_DIALOG_COMPLETION_GESTURE_KEY()
getRESULT_ARGS_DIALOG_COMPLETE_KEY
final StringgetRESULT_ARGS_DIALOG_COMPLETE_KEY()
getRESULT_ARGS_DIALOG_COMPLETION_GESTURE_KEY
final StringgetRESULT_ARGS_DIALOG_COMPLETION_GESTURE_KEY()
getMESSAGE_GET_ACCESS_TOKEN_REQUEST
final IntegergetMESSAGE_GET_ACCESS_TOKEN_REQUEST()
getMESSAGE_GET_ACCESS_TOKEN_REPLY
final IntegergetMESSAGE_GET_ACCESS_TOKEN_REPLY()
getMESSAGE_GET_PROTOCOL_VERSIONS_REQUEST
final IntegergetMESSAGE_GET_PROTOCOL_VERSIONS_REQUEST()
getMESSAGE_GET_PROTOCOL_VERSIONS_REPLY
final IntegergetMESSAGE_GET_PROTOCOL_VERSIONS_REPLY()
getMESSAGE_GET_INSTALL_DATA_REQUEST
final IntegergetMESSAGE_GET_INSTALL_DATA_REQUEST()
getMESSAGE_GET_INSTALL_DATA_REPLY
final IntegergetMESSAGE_GET_INSTALL_DATA_REPLY()
getMESSAGE_GET_LIKE_STATUS_REQUEST
final IntegergetMESSAGE_GET_LIKE_STATUS_REQUEST()
getMESSAGE_GET_LIKE_STATUS_REPLY
final IntegergetMESSAGE_GET_LIKE_STATUS_REPLY()
getMESSAGE_GET_AK_SEAMLESS_TOKEN_REQUEST
final IntegergetMESSAGE_GET_AK_SEAMLESS_TOKEN_REQUEST()
getMESSAGE_GET_AK_SEAMLESS_TOKEN_REPLY
final IntegergetMESSAGE_GET_AK_SEAMLESS_TOKEN_REPLY()
getMESSAGE_GET_LOGIN_STATUS_REQUEST
final IntegergetMESSAGE_GET_LOGIN_STATUS_REQUEST()
getMESSAGE_GET_LOGIN_STATUS_REPLY
final IntegergetMESSAGE_GET_LOGIN_STATUS_REPLY()
getEXTRA_PROTOCOL_VERSIONS
final StringgetEXTRA_PROTOCOL_VERSIONS()
getACTION_FEED_DIALOG
final StringgetACTION_FEED_DIALOG()
getACTION_MESSAGE_DIALOG
final StringgetACTION_MESSAGE_DIALOG()
getACTION_OGACTIONPUBLISH_DIALOG
final StringgetACTION_OGACTIONPUBLISH_DIALOG()
getACTION_OGMESSAGEPUBLISH_DIALOG
final StringgetACTION_OGMESSAGEPUBLISH_DIALOG()
getACTION_LIKE_DIALOG
final StringgetACTION_LIKE_DIALOG()
getACTION_APPINVITE_DIALOG
final StringgetACTION_APPINVITE_DIALOG()
getACTION_CAMERA_EFFECT
final StringgetACTION_CAMERA_EFFECT()
getACTION_SHARE_STORY
final StringgetACTION_SHARE_STORY()
getEXTRA_PERMISSIONS
final StringgetEXTRA_PERMISSIONS()
getEXTRA_APPLICATION_ID
final StringgetEXTRA_APPLICATION_ID()
getEXTRA_APPLICATION_NAME
final StringgetEXTRA_APPLICATION_NAME()
getEXTRA_USER_ID
final StringgetEXTRA_USER_ID()
getEXTRA_LOGGER_REF
final StringgetEXTRA_LOGGER_REF()
getEXTRA_TOAST_DURATION_MS
final StringgetEXTRA_TOAST_DURATION_MS()
getEXTRA_GRAPH_API_VERSION
final StringgetEXTRA_GRAPH_API_VERSION()
getEXTRA_NONCE
final StringgetEXTRA_NONCE()
getEXTRA_ACCESS_TOKEN
final StringgetEXTRA_ACCESS_TOKEN()
getEXTRA_EXPIRES_SECONDS_SINCE_EPOCH
final StringgetEXTRA_EXPIRES_SECONDS_SINCE_EPOCH()
getEXTRA_DATA_ACCESS_EXPIRATION_TIME
final StringgetEXTRA_DATA_ACCESS_EXPIRATION_TIME()
getEXTRA_AUTHENTICATION_TOKEN
final StringgetEXTRA_AUTHENTICATION_TOKEN()
getRESULT_ARGS_ACCESS_TOKEN
final StringgetRESULT_ARGS_ACCESS_TOKEN()
getRESULT_ARGS_GRAPH_DOMAIN
final StringgetRESULT_ARGS_GRAPH_DOMAIN()
getRESULT_ARGS_SIGNED_REQUEST
final StringgetRESULT_ARGS_SIGNED_REQUEST()
getRESULT_ARGS_EXPIRES_SECONDS_SINCE_EPOCH
final StringgetRESULT_ARGS_EXPIRES_SECONDS_SINCE_EPOCH()
getRESULT_ARGS_PERMISSIONS
final StringgetRESULT_ARGS_PERMISSIONS()
getOPEN_GRAPH_CREATE_OBJECT_KEY
final StringgetOPEN_GRAPH_CREATE_OBJECT_KEY()
getIMAGE_USER_GENERATED_KEY
final StringgetIMAGE_USER_GENERATED_KEY()
getIMAGE_URL_KEY
final StringgetIMAGE_URL_KEY()
getSTATUS_ERROR_TYPE
final StringgetSTATUS_ERROR_TYPE()
getSTATUS_ERROR_DESCRIPTION
final StringgetSTATUS_ERROR_DESCRIPTION()
getSTATUS_ERROR_CODE
final StringgetSTATUS_ERROR_CODE()
getSTATUS_ERROR_SUBCODE
final StringgetSTATUS_ERROR_SUBCODE()
getSTATUS_ERROR_JSON
final StringgetSTATUS_ERROR_JSON()
getBRIDGE_ARG_ERROR_TYPE
final StringgetBRIDGE_ARG_ERROR_TYPE()
getBRIDGE_ARG_ERROR_DESCRIPTION
final StringgetBRIDGE_ARG_ERROR_DESCRIPTION()
getBRIDGE_ARG_ERROR_CODE
final StringgetBRIDGE_ARG_ERROR_CODE()
getBRIDGE_ARG_ERROR_SUBCODE
final StringgetBRIDGE_ARG_ERROR_SUBCODE()
getBRIDGE_ARG_ERROR_JSON
final StringgetBRIDGE_ARG_ERROR_JSON()
getERROR_UNKNOWN_ERROR
final StringgetERROR_UNKNOWN_ERROR()
getERROR_PROTOCOL_ERROR
final StringgetERROR_PROTOCOL_ERROR()
getERROR_USER_CANCELED
final StringgetERROR_USER_CANCELED()
getERROR_APPLICATION_ERROR
final StringgetERROR_APPLICATION_ERROR()
getERROR_NETWORK_ERROR
final StringgetERROR_NETWORK_ERROR()
getERROR_PERMISSION_DENIED
final StringgetERROR_PERMISSION_DENIED()
getERROR_SERVICE_DISABLED
final StringgetERROR_SERVICE_DISABLED()
getWEB_DIALOG_URL
final StringgetWEB_DIALOG_URL()
getWEB_DIALOG_ACTION
final StringgetWEB_DIALOG_ACTION()
getWEB_DIALOG_PARAMS
final StringgetWEB_DIALOG_PARAMS()
getWEB_DIALOG_IS_FALLBACK
final StringgetWEB_DIALOG_IS_FALLBACK()
getAUDIENCE_ME
final StringgetAUDIENCE_ME()
getAUDIENCE_FRIENDS
final StringgetAUDIENCE_FRIENDS()
getAUDIENCE_EVERYONE
final StringgetAUDIENCE_EVERYONE()