iOS SDK Version

FBSDKGamingVideoUploader

@interfaceFBSDKGamingVideoUploader:NSObject-(instancetype_Nonnull)initNS_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)configurationandResultCompletion:(FBSDKGamingServiceResultCompletion_Nonnull)completionNS_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)configurationcompletion:(FBSDKGamingServiceResultCompletion_Nonnull)completionHandlerandProgressHandler:(FBSDKGamingServiceProgressHandler_Nullable)progressHandlerNS_SWIFT_NAME(uploadVideo(configuration:completion:progressHandler:));// UNCRUSTIFY_FORMAT_ON@end
Undocumented
  • Undocumented

    Declaration

    Objective-C
    -(instancetype_Nonnull)initNS_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)configurationandResultCompletion:(FBSDKGamingServiceResultCompletion_Nonnull)completion;
    Swift
    classfuncuploadeVideo(configuration:FBSDKGamingVideoUploaderConfiguration,completion:@escapingGamingServiceResultCompletion)

    Parameters

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

    Declaration

    Objective-C
    +(void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration*_Nonnull)configurationcompletion:(FBSDKGamingServiceResultCompletion_Nonnull)completionHandlerandProgressHandler:(FBSDKGamingServiceProgressHandler_Nullable)progressHandler;
    Swift
    classfuncuploadVideo(configuration:FBSDKGamingVideoUploaderConfiguration,completioncompletionHandler:@escapingGamingServiceResultCompletion,progressHandler:GamingServiceProgressHandler?=nil)

    Parameters