FacebookDialog.Callback
이 클래스는 더 이상 최신 버전의 SDK에서 사용할 수 없습니다.
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Defines a callback interface that will be called when the user completes interacting with a Facebook dialog, or if an error occurs.

패키지:widget
인스턴스 메서드
onComplete(PendingCall, Bundle)

Called when the user completes interacting with a Facebook dialog.

public void onComplete(PendingCall pendingCall, Bundle data)
매개변수설명
pendingCallA PendingCall containing the call ID and original Intent used to launch the dialog
dataA Bundle containing the results of the dialog, whose contents will vary depending on the type of dialog being displayed.
onError(PendingCall, Exception, Bundle)

Called if an error occurred while presenting a Facebook dialog.

public void onError(PendingCall pendingCall, Exception error, Bundle data)
매개변수설명
pendingCallA PendingCall containing the call ID and original Intent used to launch the dialog
errorThe error that occurred
dataThe full set of extras associated with the activity result