| Package | Description |
|---|---|
| com.facebook |
| Modifier and Type | Method and Description |
|---|---|
Request.Callback |
Request.getCallback()
Returns the callback which will be called when the request finishes.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestAsyncTask |
Request.executeGraphPathRequestAsync(Session session,
String graphPath,
Request.Callback callback)
Creates a new Request configured to retrieve a particular graph path.
|
static RequestAsyncTask |
Request.executePostRequestAsync(Session session,
String graphPath,
GraphObject graphObject,
Request.Callback callback)
Starts a new Request configured to post a GraphObject to a particular graph path, to either create or update the
object at that path.
|
static RequestAsyncTask |
Request.executeStatusUpdateRequestAsync(Session session,
String message,
Request.Callback callback)
Creates a new Request configured to post a status update to a user's feed.
|
static RequestAsyncTask |
Request.executeUploadPhotoRequestAsync(Session session,
android.graphics.Bitmap image,
Request.Callback callback)
Creates a new Request configured to upload a photo to the user's default photo album.
|
static RequestAsyncTask |
Request.executeUploadPhotoRequestAsync(Session session,
File file,
Request.Callback callback)
Creates a new Request configured to upload a photo to the user's default photo album.
|
static Request |
Request.newGraphPathRequest(Session session,
String graphPath,
Request.Callback callback)
Creates a new Request configured to retrieve a particular graph path.
|
static Request |
Request.newPostRequest(Session session,
String graphPath,
GraphObject graphObject,
Request.Callback callback)
Creates a new Request configured to post a GraphObject to a particular graph path, to either create or update the
object at that path.
|
static Request |
Request.newStatusUpdateRequest(Session session,
String message,
Request.Callback callback)
Creates a new Request configured to post a status update to a user's feed.
|
static Request |
Request.newUploadPhotoRequest(Session session,
android.graphics.Bitmap image,
Request.Callback callback)
Creates a new Request configured to upload a photo to the user's default photo album.
|
static Request |
Request.newUploadPhotoRequest(Session session,
File file,
Request.Callback callback)
Creates a new Request configured to upload a photo to the user's default photo album.
|
static Request |
Request.newUploadVideoRequest(Session session,
File file,
Request.Callback callback)
Creates a new Request configured to upload a photo to the user's default photo album.
|
static void |
Settings.publishInstallAsync(android.content.Context context,
String applicationId,
Request.Callback callback)
Manually publish install attribution to the Facebook graph.
|
void |
Request.setCallback(Request.Callback callback)
Sets the callback which will be called when the request finishes.
|
| Constructor and Description |
|---|
Request(Session session,
String graphPath,
android.os.Bundle parameters,
HttpMethod httpMethod,
Request.Callback callback)
Constructs a request with a specific Session, graph path, parameters, and HTTP method.
|
Copyright © 2013. All Rights Reserved.