AsyncFacebookRunner.RequestListener
В последней версии SDK этот класс не доступен.
Доступна более новая версия данного класса. Посетите текущую версию.

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.

Пакет:android
Методы экземпляра
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)
ПараметрОписание
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)
ПараметрОписание
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)
ПараметрОписание
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)
ПараметрОписание
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)
ПараметрОписание
e
state