iOS SDK Version

FBSDKGamingImageUploader

  @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 
 
Undocumented
  • Undocumented

    Declaration

    Objective-C
      - 
     ( 
     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

    Declaration

    Objective-C
      + 
     ( 
     void 
     ) 
     uploadImageWithConfiguration 
     : 
     ( 
     FBSDKGamingImageUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     andResultCompletion 
     : 
     ( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     ; 
     
    
    Swift
      class 
     func 
     uploadImage 
     ( 
     with 
     configuration 
     : 
     FBSDKGamingImageUploaderConfiguration 
     , 
     andResultCompletion 
     completion 
     : 
     @escaping 
     GamingServiceResultCompletion 
     ) 
     
    

    Parameters

  • Runs an upload to a users Gaming Media Library with the given configuration

    Declaration

    Objective-C
      + 
     ( 
     void 
     ) 
     uploadImageWithConfiguration 
     : 
     ( 
     FBSDKGamingImageUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     completion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     andProgressHandler 
     : 
     ( 
      FBSDKGamingServiceProgressHandler 
     
     _Nullable 
     ) 
     progressHandler 
     ; 
     
    
    Swift
      class 
     func 
     uploadImage 
     ( 
     with 
     configuration 
     : 
     FBSDKGamingImageUploaderConfiguration 
     , 
     completion 
     : 
     @escaping 
     GamingServiceResultCompletion 
     , 
     andProgressHandler 
     progressHandler 
     : 
     GamingServiceProgressHandler 
     ? 
     = 
     nil 
     ) 
     
    

    Parameters