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