FBSDKGameRequestDialogDelegate Protocol Reference
Conforms to | NSObject |
Declared in | FBSDKGameRequestDialog.h |
Overview
A delegate for FBSDKGameRequestDialog.
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.
Tasks
-
– gameRequestDialog:didCompleteWithResults:
required method -
– gameRequestDialog:didFailWithError:
required method -
– gameRequestDialogDidCancel:
required method
Instance Methods
gameRequestDialog:didCompleteWithResults:
Sent to the delegate when the game request completes without error. - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed. - Parameter results: The results from the dialog. This may be nil or empty.
- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didCompleteWithResults:(NSDictionary *)results
Declared In
FBSDKGameRequestDialog.h
gameRequestDialog:didFailWithError:
Sent to the delegate when the game request encounters an error. - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed. - Parameter error: The error.
- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didFailWithError:(NSError *)error
Declared In
FBSDKGameRequestDialog.h