GraphRequestAsyncTask
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

Defines an AsyncTask suitable for executing a Request in the background. May be subclassed by applications having unique threading model needs.

ขยาย:AsyncTask
แพ็คเกจ:facebook
ผู้สร้าง
GraphRequestAsyncTask(GraphRequest)

Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.

public GraphRequestAsyncTask(GraphRequest requests)
พารามิเตอร์คำอธิบาย
requestsThe requests to execute
GraphRequestAsyncTask(Collection)

Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.

public GraphRequestAsyncTask(Collection requests)
พารามิเตอร์คำอธิบาย
requestsThe requests to execute
GraphRequestAsyncTask(GraphRequestBatch)

Constructor. Serialization of the requests will be done in the background, so any serialization- related errors will be returned via the Response.getException() method.

public GraphRequestAsyncTask(GraphRequestBatch requests)
พารามิเตอร์คำอธิบาย
requestsThe requests to execute
GraphRequestAsyncTask(HttpURLConnection, GraphRequest)

Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.

public GraphRequestAsyncTask(HttpURLConnection connection, GraphRequest requests)
พารามิเตอร์คำอธิบาย
connectionThe HTTP connection to use to execute the requests
requestsThe requests to execute
GraphRequestAsyncTask(HttpURLConnection, Collection)

Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.

public GraphRequestAsyncTask(HttpURLConnection connection, Collection requests)
พารามิเตอร์คำอธิบาย
connectionThe HTTP connection to use to execute the requests
requestsThe requests to execute
GraphRequestAsyncTask(HttpURLConnection, GraphRequestBatch)

Constructor that allows specification of an HTTP connection to use for executing the requests. No validation is done that the contents of the connection actually reflect the serialized requests, so it is the caller's responsibility to ensure that it will correctly generate the desired responses.

public GraphRequestAsyncTask(HttpURLConnection connection, GraphRequestBatch requests)
พารามิเตอร์คำอธิบาย
connectionThe HTTP connection to use to execute the requests
requestsThe requests to execute
วิธีการแบบอินสแตนซ์
getException()
protected final Exception getException()
getRequests()
protected final GraphRequestBatch getRequests()