-
public class GraphResponse.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringNON_JSON_RESPONSE_PROPERTYprivate final StringSUCCESS_KEYpublic final static GraphResponse.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description 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()-
-
Method Detail
-
constructErrorResponses
final List<GraphResponse> constructErrorResponses(List<GraphRequest> requests, HttpURLConnection connection, FacebookException error)
Build GraphResponse with Error
- Parameters:
requests- original graph requestsconnection- request url connectionerror- error included in response
-
getNON_JSON_RESPONSE_PROPERTY
final String getNON_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 String getSUCCESS_KEY()
-
-
-
-