iOS SDK Version

Classes

The following classes are available globally.
  • A model for an instant games choose context app switch dialog
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKChooseContextContent 
     : 
     NSObject 
     < 
      FBSDKValidatable 
     
     > 
     
    
    Swift
      class 
     ChooseContextContent 
     : 
     NSObject 
     , 
     ValidatableProtocol 
     
    
  • A dialog for the choose context through app switch
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKChooseContextDialog 
     : 
      FBSDKContextWebDialog 
     
     
    
    Swift
      class 
     ChooseContextDialog 
     : 
     ContextWebDialog 
     
    
  • Context web dialog for the all context api dialogs executed in a browser
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKContextWebDialog 
     : 
     NSObject 
     
    
    Swift
      class 
     ContextWebDialog 
     : 
     NSObject 
     
    
  • A model for an instant games createAsync cross play request.
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKCreateContextContent 
     : 
     NSObject 
     < 
     NSSecureCoding 
     , 
      FBSDKValidatable 
     
     > 
     
    
    Swift
      class 
     CreateContextContent 
     : 
     NSObject 
     , 
     NSSecureCoding 
     , 
     ValidatableProtocol 
     
    
  • A dialog to create a context through a web view
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKCreateContextDialog 
     : 
      FBSDKContextWebDialog 
     
     
    
    Swift
      class 
     CreateContextDialog 
     : 
     ContextWebDialog 
     
    
  • Undocumented
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKFriendFinderDialog 
     : 
     NSObject 
     - 
     ( 
     instancetype 
     _Nonnull 
     ) 
     init 
     NS_SWIFT_UNAVAILABLE 
     ( 
     "Should not create instances of this class" 
     ); 
     /** Opens the Friend Finder dialog inside the Facebook app if it's installed, otherwise mobile web will be opened. @param completionHandler a callback that is fired once the user returns to the caller app or an error ocurrs */ 
     + 
     ( 
     void 
     ) 
     launchFriendFinderDialogWithCompletionHandler 
     :( 
      FBSDKGamingServiceCompletionHandler 
     
     _Nonnull 
     ) 
     completionHandler 
     ; 
     @end 
     
    
    Swift
      class 
     FriendFinderDialog 
     : 
     NSObject 
     
    
  • Undocumented
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKGamingGroupIntegration 
     : 
     NSObject 
     + 
     ( 
     void 
     ) 
     openGroupPageWithCompletionHandler 
     :( 
      FBSDKGamingServiceCompletionHandler 
     
     _Nonnull 
     ) 
     completionHandler 
     ; 
     @end 
     
    
    Swift
      class 
     GamingGroupIntegration 
     : 
     NSObject 
     
    
  • Undocumented
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKGamingImageUploader 
     : 
     NSObject 
     - 
     ( 
     instancetype 
     _Nonnull 
     ) 
     init 
     NS_SWIFT_UNAVAILABLE 
     ( 
     "Should not create instances of this class" 
     ); 
     /** Runs an upload to a users Gaming Media Library with the given configuration @param configuration model object contain the content that will be uploaded @param completion a callback that is fired dependent on the configuration. Fired when the upload completes or when the users returns to the caller app after the media dialog is shown. */ 
     + 
     ( 
     void 
     ) 
     uploadImageWithConfiguration 
     :( 
     FBSDKGamingImageUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     andResultCompletion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     ; 
     /** Runs an upload to a users Gaming Media Library with the given configuration @param configuration model object contain the content that will be uploaded @param completion a callback that is fired dependent on the configuration. Fired when the upload completes or when the users returns to the caller app after the media dialog is shown. @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. */ 
     + 
     ( 
     void 
     ) 
     uploadImageWithConfiguration 
     :( 
     FBSDKGamingImageUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     completion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     andProgressHandler 
     :( 
      FBSDKGamingServiceProgressHandler 
     
     _Nullable 
     ) 
     progressHandler 
     ; 
     @end 
     
    
    Swift
      class 
     GamingImageUploader 
     : 
     NSObject 
     
    
  • Undocumented
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKGamingVideoUploader 
     : 
     NSObject 
     - 
     ( 
     instancetype 
     _Nonnull 
     ) 
     init 
     NS_SWIFT_UNAVAILABLE 
     ( 
     "Should not create instances of this class" 
     ); 
     /** Runs an upload to a users Gaming Media Library with the given configuration @param configuration model object contain the content that will be uploaded @param completion a callback that is fired when the upload completes. */ 
     // UNCRUSTIFY_FORMAT_OFF 
     + 
     ( 
     void 
     ) 
     uploadVideoWithConfiguration 
     :( 
     FBSDKGamingVideoUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     andResultCompletion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     NS_SWIFT_NAME 
     ( 
     uploadeVideo 
     ( 
     configuration 
     : 
     completion 
     : 
     )); 
     // UNCRUSTIFY_FORMAT_ON 
     /** Runs an upload to a users Gaming Media Library with the given configuration @param configuration model object contain the content that will be uploaded @param completionHandler a callback that is fired when the upload completes. @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. */ 
     // UNCRUSTIFY_FORMAT_OFF 
     + 
     ( 
     void 
     ) 
     uploadVideoWithConfiguration 
     :( 
     FBSDKGamingVideoUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     completion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completionHandler 
     andProgressHandler 
     :( 
      FBSDKGamingServiceProgressHandler 
     
     _Nullable 
     ) 
     progressHandler 
     NS_SWIFT_NAME 
     ( 
     uploadVideo 
     ( 
     configuration 
     : 
     completion 
     : 
     progressHandler 
     : 
     )); 
     // UNCRUSTIFY_FORMAT_ON 
     @end 
     
    
    Swift
      class 
     GamingVideoUploader 
     : 
     NSObject 
     
    
  • A model for an instant games switchAsync cross play request.
    See more

    Declaration

    Objective-C
      @interface 
     FBSDKSwitchContextContent 
     : 
     NSObject 
     < 
     NSSecureCoding 
     , 
      FBSDKValidatable 
     
     > 
     
    
    Swift
      class 
     SwitchContextContent 
     : 
     NSObject 
     , 
     NSSecureCoding 
     , 
     ValidatableProtocol