| Package | Description |
|---|---|
| com.facebook | |
| com.facebook.internal |
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
RequestBatch.get(int i) |
Request |
Response.getRequest()
Returns the request that this response is for.
|
Request |
Response.getRequestForPagedResults(Response.PagingDirection direction)
If a Response contains results that contain paging information, returns a new
Request that will retrieve the next page of results, in whichever direction
is desired.
|
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.newMeRequest(Session session,
Request.GraphUserCallback callback)
Creates a new Request configured to retrieve a user's own profile.
|
static Request |
Request.newMyFriendsRequest(Session session,
Request.GraphUserListCallback callback)
Creates a new Request configured to retrieve a user's friend list.
|
static Request |
Request.newPlacesSearchRequest(Session session,
android.location.Location location,
int radiusInMeters,
int resultsLimit,
String searchText,
Request.GraphPlaceListCallback callback)
Creates a new Request that is configured to perform a search for places near a specified location via the Graph
API.
|
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.newRestRequest(Session session,
String restMethod,
android.os.Bundle parameters,
HttpMethod httpMethod)
Creates a new Request configured to make a call to the Facebook REST API.
|
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.
|
Request |
RequestBatch.remove(int location) |
Request |
RequestBatch.set(int location,
Request request) |
| Modifier and Type | Method and Description |
|---|---|
void |
RequestBatch.add(int location,
Request request) |
boolean |
RequestBatch.add(Request request) |
static Response |
Request.executeAndWait(Request request)
Executes a single request on the current thread and returns the response.
|
static List<Response> |
Request.executeBatchAndWait(Request... requests)
Executes requests on the current thread as a single batch and returns the responses.
|
static RequestAsyncTask |
Request.executeBatchAsync(Request... requests)
Executes requests as a single batch asynchronously.
|
Request |
RequestBatch.set(int location,
Request request) |
static HttpURLConnection |
Request.toHttpConnection(Request... requests)
Serializes one or more requests but does not execute them.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Response> |
Request.executeBatchAndWait(Collection<Request> requests)
Executes requests as a single batch on the current thread and returns the responses.
|
static RequestAsyncTask |
Request.executeBatchAsync(Collection<Request> requests)
Executes requests as a single batch asynchronously.
|
static List<Response> |
Request.executeConnectionAndWait(HttpURLConnection connection,
Collection<Request> requests)
Executes requests that have already been serialized into an HttpURLConnection.
|
static HttpURLConnection |
Request.toHttpConnection(Collection<Request> requests)
Serializes one or more requests but does not execute them.
|
| Constructor and Description |
|---|
RequestAsyncTask(HttpURLConnection connection,
Request... requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
RequestAsyncTask(Request... requests)
Constructor.
|
RequestBatch(Request... requests)
Constructor.
|
| Constructor and Description |
|---|
RequestAsyncTask(Collection<Request> requests)
Constructor.
|
RequestAsyncTask(HttpURLConnection connection,
Collection<Request> requests)
Constructor that allows specification of an HTTP connection to use for executing
the requests.
|
RequestBatch(Collection<Request> requests)
Constructor.
|
| Constructor and Description |
|---|
CacheableRequestBatch(Request... requests) |
Copyright © 2013. All Rights Reserved.