AsyncFacebookRunner.RequestListener
Kelas ini tidak tersedia lagi di versi SDK terbaru.
Versi yang lebih baru dari kelas ini sudah tersedia. Lihat versi terbaru.

Callback interface for API requests.

Each method includes a 'state' parameter that identifies the calling request. It will be set to the value passed when originally calling the request method, or null if none was passed.

This interface is deprecated. See Facebook and Request for more info.

Paket:android
Metode Instance
onComplete(String, Object)

Called when a request completes with the given response.

Executed by a background thread: do not update the UI in this method.

public void onComplete(String response, Object state)
ParameterKeterangan
response
state
onIOException(IOException, Object)

Called when a request has a network or request error.

Executed by a background thread: do not update the UI in this method.

public void onIOException(IOException e, Object state)
ParameterKeterangan
e
state
onFileNotFoundException(FileNotFoundException, Object)

Called when a request fails because the requested resource is invalid or does not exist.

Executed by a background thread: do not update the UI in this method.

public void onFileNotFoundException(FileNotFoundException e, Object state)
ParameterKeterangan
e
state
onMalformedURLException(MalformedURLException, Object)

Called if an invalid graph path is provided (which may result in a malformed URL).

Executed by a background thread: do not update the UI in this method.

public void onMalformedURLException(MalformedURLException e, Object state)
ParameterKeterangan
e
state
onFacebookError(FacebookError, Object)

Called when the server-side Facebook method fails.

Executed by a background thread: do not update the UI in this method.

public void onFacebookError(FacebookError e, Object state)
ParameterKeterangan
e
state