FacebookCallback
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

A callback class for the Facebook SDK.

패키지:facebook
인스턴스 메서드
onSuccess(Object)

Called when the dialog completes without error.

Note: This will be called instead of FacebookCallback.onCancel() if any of the following conditions are true.

MessageDialog is used.

The logged in Facebook user has not authorized the app that has initiated the dialog.

public void onSuccess(Object result)
매개변수설명
resultResult from the dialog
onCancel()

Called when the dialog is canceled.

Note: FacebookCallback.onSuccess(Object) will be called instead if any of the following conditions are true.

MessageDialog is used.

The logged in Facebook user has not authorized the app that has initiated the dialog.

public void onCancel()
onError(FacebookException)

Called when the dialog finishes with an error.

public void onError(FacebookException error)
매개변수설명
errorThe error that occurred