iOS SDK Version

Protocols

The following protocols are available globally.
  • The protocol sdk dialogs must conform to and implement all the following methods.
    See more

    Declaration

    Objective-C
      @protocol 
     FBSDKDialog 
     
    
    Swift
      protocol 
     DialogProtocol 
     
    
  • A delegate for context dialogs to communicate with the dialog handler.
    The delegate is notified with the results of the cross play 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 cross play request and cancellation.
    See more

    Declaration

    Objective-C
      @protocol 
     FBSDKContextDialogDelegate 
     < 
     NSObject 
     > 
     
    
    Swift
      protocol 
     ContextDialogDelegate 
     : 
     NSObjectProtocol 
     
    
  • A protocol that a content object must conform to be used in a Gaming Services dialog
    See more

    Declaration

    Objective-C
      @protocol 
     FBSDKValidatable 
     < 
     NSObject 
     > 
     
    
    Swift
      protocol 
     ValidatableProtocol 
     : 
     NSObjectProtocol