FBSDKGameRequestDialogDelegate
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

A delegate for FBSDKGameRequestDialog.

Discussion:

The delegate is notified with the results of the game request as long as the application has permissions to receive the information. For example, if the person is not signed into the containing app, the shower may not be able to distinguish between completion of a game request and cancellation.

Extends Protocol:NSObject
Declared in:FBSDKGameRequestDialog.h
วิธีการทันใจ
gameRequestDialog:didCompleteWithResults:

Sent to the delegate when the game request completes without error.

พารามิเตอร์คำอธิบาย
gameRequestDialog

The FBSDKGameRequestDialog that completed.

results

The results from the dialog. This may be nil or empty.

- (void)
gameRequestDialog: (FBSDKGameRequestDialog *)gameRequestDialog
didCompleteWithResults: (NSDictionary *)results;
ให้คำรับรองไว้ใน: FBSDKGameRequestDialog.h
gameRequestDialog:didFailWithError:

Sent to the delegate when the game request encounters an error.

พารามิเตอร์คำอธิบาย
gameRequestDialog

The FBSDKGameRequestDialog that completed.

error

The error.

- (void)
gameRequestDialog: (FBSDKGameRequestDialog *)gameRequestDialog
didFailWithError: (NSError *)error;
ให้คำรับรองไว้ใน: FBSDKGameRequestDialog.h
gameRequestDialogDidCancel:

Sent to the delegate when the game request dialog is cancelled.

พารามิเตอร์คำอธิบาย
gameRequestDialog

The FBSDKGameRequestDialog that completed.

- (void) gameRequestDialogDidCancel:(FBSDKGameRequestDialog *)gameRequestDialog;
ให้คำรับรองไว้ใน: FBSDKGameRequestDialog.h