Android SDK Version
- AccessToken
- AccessToken.AccessTokenCreationCallback
- AccessToken.AccessTokenRefreshCallback
- AccessTokenAppIdPair
- AccessTokenManager
- AccessTokenSource
- AccessTokenTracker
- AggregateException
- 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
- AppLink
- AppLink.Target
- AppLinkData
- AppLinkData.CompletionHandler
- AppLinkResolver
- AppLinks
- AppLinks
- AppToUserNotificationSender
- CallbackManager
- CallbackManager.Factory
- CameraEffectArguments
- CameraEffectArguments.Builder
- CameraEffectTextures
- CameraEffectTextures.Builder
- CancellationToken
- CancellationTokenRegistration
- CancellationTokenSource
- Capture
- CloudGameLoginHandler
- CodelessLoggingEventListener
- CodelessLoggingEventListener.AutoLoggingOnClickListener
- CodelessLoggingEventListener.AutoLoggingOnItemClickListener
- CodelessManager
- CodelessManager.CodelessSessionChecker
- Common
- Continuation
- Core
- CreateAppGroupDialog
- CreateAppGroupDialog.Result
- CurrentAccessTokenExpirationBroadcastReceiver
- CurrentPlaceFeedbackRequestParams
- CurrentPlaceFeedbackRequestParams.Builder
- CurrentPlaceRequestParams
- CurrentPlaceRequestParams.Builder
- CurrentPlaceRequestParams.ConfidenceLevel
- CurrentPlaceRequestParams.ScanMode
- CustomTabActivity
- CustomTabLoginMethodHandler
- CustomTabMainActivity
- CustomTabPrefetchHelper
- DaemonReceiver
- DaemonRequest
- DaemonRequest.Callback
- DefaultAudience
- DeviceAuthDialog
- DeviceLoginButton
- DeviceLoginManager
- DeviceShareButton
- DeviceShareDialog
- DeviceShareDialog.Result
- EventDeactivationManager
- ExecutorException
- FacebookActivity
- FacebookAppLinkResolver
- FacebookAuthorizationException
- FacebookBroadcastReceiver
- FacebookButtonBase
- FacebookCallback
- FacebookContentProvider
- FacebookDialog
- FacebookDialogException
- FacebookException
- FacebookGraphResponseException
- FacebookOperationCanceledException
- FacebookRequestError
- FacebookRequestError.Category
- FacebookSdk
- FacebookSdk.GraphRequestCreator
- FacebookSdk.InitializeCallback
- FacebookSdkNotInitializedException
- FacebookServiceException
- FlushResult
- FriendFinderDialog
- FriendFinderDialog.Result
- GameFeaturesLibrary
- GameRequestContent
- GameRequestContent.ActionType
- GameRequestContent.Builder
- GameRequestContent.Filters
- GameRequestDialog
- GameRequestDialog
- GameRequestDialog.Result
- GameRequestDialog.Result
- GamingGroupIntegration
- GamingGroupIntegration.Result
- GamingImageUploader
- GamingPayload
- GamingServices
- GamingVideoUploader
- GraphRequest
- GraphRequest.Callback
- GraphRequest.GraphJSONArrayCallback
- GraphRequest.GraphJSONObjectCallback
- GraphRequest.OnProgressCallback
- GraphRequest.ParcelableResourceWithMimeType
- GraphRequestAsyncTask
- GraphRequestBatch
- GraphRequestBatch.Callback
- GraphRequestBatch.OnProgressCallback
- GraphResponse
- GraphResponse.PagingDirection
- HttpMethod
- InAppAdLibrary
- InAppPurchaseLibrary
- IntegrityManager
- 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
- MetadataRule
- Model
- ModelManager
- ModelManager.Task
- MTensor
- OnDeviceProcessingManager
- OpenGamingMediaDialog
- PerformanceGuardian
- PerformanceGuardian.UseCase
- PlaceFields
- PlaceInfoRequestParams
- PlaceInfoRequestParams.Builder
- PlaceManager
- PlaceManager.LocationError
- PlaceManager.OnRequestReadyCallback
- Places
- PlaceSearchRequestParams
- PlaceSearchRequestParams.Builder
- PlayableAdsLibrary
- Profile
- ProfileManager
- ProfilePictureView
- ProfilePictureView.OnErrorListener
- ProfileTracker
- RCTCodelessLoggingEventListener
- RCTCodelessLoggingEventListener.AutoLoggingOnTouchListener
- ReferralFragment
- ReferralLogger
- ReferralManager
- ReferralResult
- RemoteServiceWrapper
- 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
- Task
- Task.UnobservedExceptionHandler
- TaskCompletionSource
- ToolTipPopup
- ToolTipPopup.Style
- UnobservedTaskException
- UserDataStore
- Utils
- ViewIndexer
- ViewOnClickListener
- WebDialog
- java.lang.Object
- <any>
- com.facebook.GraphRequestAsyncTask
public class GraphRequestAsyncTask
extends <any>
Defines an AsyncTask suitable for executing a Request in the background. May be subclassed by applications having unique threading model needs.
Constructor Summary
Constructor and Description |
---|
GraphRequestAsyncTask(java.util.Collection<GraphRequest> requests) Constructor. |
GraphRequestAsyncTask(GraphRequest... requests) Constructor. |
GraphRequestAsyncTask(GraphRequestBatch requests) Constructor. |
GraphRequestAsyncTask(java.net.HttpURLConnection connection, java.util.Collection<GraphRequest> requests) Constructor that allows specification of an HTTP connection to use for executing the requests. |
GraphRequestAsyncTask(java.net.HttpURLConnection connection, GraphRequest... requests) Constructor that allows specification of an HTTP connection to use for executing the requests. |
GraphRequestAsyncTask(java.net.HttpURLConnection connection, GraphRequestBatch requests) Constructor that allows specification of an HTTP connection to use for executing the requests. |
Method Summary
Modifier and Type | Method and Description |
---|---|
protected java.util.List<GraphResponse> | doInBackground(java.lang.Void... params) |
protected java.lang.Exception | getException() |
protected GraphRequestBatch | getRequests() |
protected void | onPostExecute(java.util.List<GraphResponse> result) |
protected void | onPreExecute() |
java.lang.String | toString() |
Constructor Detail
GraphRequestAsyncTask
public GraphRequestAsyncTask(GraphRequest... requests)
Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.
Parameters:
requests
- the requests to executeGraphRequestAsyncTask
public GraphRequestAsyncTask(java.util.Collection<GraphRequest> requests)
Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.
Parameters:
requests
- the requests to executeGraphRequestAsyncTask
public GraphRequestAsyncTask(GraphRequestBatch requests)
Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.
Parameters:
requests
- the requests to executeGraphRequestAsyncTask
public GraphRequestAsyncTask(java.net.HttpURLConnection connection, GraphRequest... requests)
Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.
Parameters:
connection
- the HTTP connection to use to execute the requestsrequests
- the requests to executeGraphRequestAsyncTask
public GraphRequestAsyncTask(java.net.HttpURLConnection connection, java.util.Collection<GraphRequest> requests)
Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.
Parameters:
connection
- the HTTP connection to use to execute the requestsrequests
- the requests to executeGraphRequestAsyncTask
public GraphRequestAsyncTask(java.net.HttpURLConnection connection, GraphRequestBatch requests)
Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.
Parameters:
connection
- the HTTP connection to use to execute the requestsrequests
- the requests to executeMethod Detail
getException
protected final java.lang.Exception getException()
getRequests
protected final GraphRequestBatch getRequests()
toString
public java.lang.String toString()
onPreExecute
protected void onPreExecute()
onPostExecute
protected void onPostExecute(java.util.List<GraphResponse> result)
doInBackground
protected java.util.List<GraphResponse> doInBackground(java.lang.Void... params)