iOS SDK Version

FBSDKGamingVideoUploader

  @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 
 
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 
     ) 
     uploadVideoWithConfiguration 
     : 
     ( 
     FBSDKGamingVideoUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     andResultCompletion 
     : 
     ( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completion 
     ; 
     
    
    Swift
      class 
     func 
     uploadeVideo 
     ( 
     configuration 
     : 
     FBSDKGamingVideoUploaderConfiguration 
     , 
     completion 
     : 
     @escaping 
     GamingServiceResultCompletion 
     ) 
     
    

    Parameters

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

    Declaration

    Objective-C
      + 
     ( 
     void 
     ) 
     uploadVideoWithConfiguration 
     : 
     ( 
     FBSDKGamingVideoUploaderConfiguration 
     * 
     _Nonnull 
     ) 
     configuration 
     completion 
     :( 
      FBSDKGamingServiceResultCompletion 
     
     _Nonnull 
     ) 
     completionHandler 
     andProgressHandler 
     : 
     ( 
      FBSDKGamingServiceProgressHandler 
     
     _Nullable 
     ) 
     progressHandler 
     ; 
     
    
    Swift
      class 
     func 
     uploadVideo 
     ( 
     configuration 
     : 
     FBSDKGamingVideoUploaderConfiguration 
     , 
     completion 
     completionHandler 
     : 
     @escaping 
     GamingServiceResultCompletion 
     , 
     progressHandler 
     : 
     GamingServiceProgressHandler 
     ? 
     = 
     nil 
     ) 
     
    

    Parameters