Android SDK Version
Field Summary
Modifier and TypeFieldDescription
private final StringNON_JSON_RESPONSE_PROPERTY
private final StringSUCCESS_KEY
public final static GraphResponse.CompanionINSTANCE
Method Summary
Modifier and TypeMethodDescription
final List<GraphResponse>constructErrorResponses(List<GraphRequest> requests, HttpURLConnection connection, FacebookException error) Build GraphResponse with Error
final StringgetNON_JSON_RESPONSE_PROPERTY() Property name of non-JSON results in the GraphObject.
final StringgetSUCCESS_KEY()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

constructErrorResponses

 final List<GraphResponse> constructErrorResponses(List<GraphRequest> requests, HttpURLConnection connection, FacebookException error)
Build GraphResponse with Error
Parameters:
requests - original graph requests
connection - request url connection
error - error included in response

getNON_JSON_RESPONSE_PROPERTY

 final StringgetNON_JSON_RESPONSE_PROPERTY()
Property name of non-JSON results in the GraphObject. Certain calls to Facebook result in a non-JSON response (e.g., the string literal "true" or "false"). To present a consistent way of accessing results, these are represented as a GraphObject with a single string property with this name.

getSUCCESS_KEY

 final StringgetSUCCESS_KEY()