| Package | Description |
|---|---|
| com.facebook | |
| com.facebook.model | |
| com.facebook.widget |
| Modifier and Type | Method and Description |
|---|---|
<T extends GraphObject> |
Response.getGraphObjectAs(Class<T> graphObjectClass)
The single graph object returned for this request, if any, cast into a particular type of GraphObject.
|
<T extends GraphObject> |
Response.getGraphObjectListAs(Class<T> graphObjectClass)
The list of graph objects returned for this request, if any, cast into a particular type of GraphObject.
|
| Modifier and Type | Method and Description |
|---|---|
GraphObject |
Request.getGraphObject()
Returns the GraphObject, if any, associated with this request.
|
GraphObject |
Response.getGraphObject()
The single graph object returned for this request, if any.
|
| Modifier and Type | Method and Description |
|---|---|
GraphObjectList<GraphObject> |
Response.getGraphObjectList()
The list of graph objects returned for this request, if any.
|
| Modifier and Type | Method and Description |
|---|---|
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 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.
|
void |
Request.setGraphObject(GraphObject graphObject)
Sets the GraphObject associated with this request.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GraphLocation
Provides a strongly-typed representation of a Location as defined by the Graph API.
|
interface |
GraphMultiResult
Defines a GraphObject that represents the result of a query that returns multiple GraphObjects
nested under a "data" property.
|
interface |
GraphPlace
Provides a strongly-typed representation of a Place as defined by the Graph API.
|
interface |
GraphUser
Provides a strongly-typed representation of a User as defined by the Graph API.
|
interface |
OpenGraphAction
Provides a strongly-typed representation of an Open Graph Action.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GraphObject> |
GraphObject.cast(Class<T> graphObjectClass)
Returns a new proxy that treats this graph object as a different GraphObject-derived type.
|
<U extends GraphObject> |
GraphObjectList.castToListOf(Class<U> graphObjectClass)
If T is derived from GraphObject, returns a new GraphObjectList exposing the same underlying data as a new
GraphObject-derived type.
|
static <T extends GraphObject> |
GraphObject.Factory.create(Class<T> graphObjectClass)
Creates a GraphObject-derived proxy that initially contains no data.
|
static <T extends GraphObject> |
GraphObject.Factory.create(org.json.JSONObject json,
Class<T> graphObjectClass)
Creates a GraphObject-derived proxy that provides typed access to the data in an underlying JSONObject.
|
| Modifier and Type | Method and Description |
|---|---|
static GraphObject |
GraphObject.Factory.create()
Creates a GraphObject proxy that initially contains no data.
|
static GraphObject |
GraphObject.Factory.create(org.json.JSONObject json)
Creates a GraphObject proxy that provides typed access to the data in an underlying JSONObject.
|
GraphObject |
OpenGraphAction.getApplication()
Gets the application that created this action.
|
| Modifier and Type | Method and Description |
|---|---|
GraphObjectList<GraphObject> |
GraphMultiResult.getData()
Provides access to the GraphObjects that make up the result set.
|
List<GraphObject> |
OpenGraphAction.getTags()
Gets the list of profiles that were tagged in the action.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GraphObject.Factory.hasSameId(GraphObject a,
GraphObject b)
Determines if two GraphObjects represent the same underlying graph object, based on their IDs.
|
void |
OpenGraphAction.setApplication(GraphObject application)
Sets the application that created this action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OpenGraphAction.setTags(List<? extends GraphObject> tags)
Sets the list of profiles that were tagged in the action.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PickerFragment<T extends GraphObject>
Provides functionality common to SDK UI elements that allow the user to pick one or more
graph objects (e.g., places, friends) from a list of possibilities.
|
Copyright © 2013. All Rights Reserved.