AsyncFacebookRunner.RequestListener
Diese Klasse ist in der neuesten Version des SDKs nicht mehr verfügbar.
Es ist eine neuere Version dieser Klasse verfügbar. Sieh sie dir an mit der aktuellsten Version.

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.

Package:android
Instance-Methoden
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)
ParameterBeschreibung
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)
ParameterBeschreibung
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)
ParameterBeschreibung
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)
ParameterBeschreibung
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)
ParameterBeschreibung
e
state