Phiên bản iOS SDK

Classes

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

    Declaration

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

    Declaration

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

    Declaration

    Objective-C
    @interfaceFBSDKContextWebDialog:NSObject
    Swift
    classContextWebDialog:NSObject
  • A model for an instant games createAsync cross play request.
    See more

    Declaration

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

    Declaration

    Objective-C
    @interfaceFBSDKCreateContextDialog:FBSDKContextWebDialog
    Swift
    classCreateContextDialog:ContextWebDialog
  • Undocumented
    See more

    Declaration

    Objective-C
    @interfaceFBSDKFriendFinderDialog:NSObject-(instancetype_Nonnull)initNS_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
    classFriendFinderDialog:NSObject
  • Undocumented
    See more

    Declaration

    Objective-C
    @interfaceFBSDKGamingGroupIntegration:NSObject+(void)openGroupPageWithCompletionHandler:(FBSDKGamingServiceCompletionHandler_Nonnull)completionHandler;@end
    Swift
    classGamingGroupIntegration:NSObject
  • Undocumented
    See more

    Declaration

    Objective-C
    @interfaceFBSDKGamingImageUploader: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 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)configurationandResultCompletion:(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)configurationcompletion:(FBSDKGamingServiceResultCompletion_Nonnull)completionandProgressHandler:(FBSDKGamingServiceProgressHandler_Nullable)progressHandler;@end
    Swift
    classGamingImageUploader:NSObject
  • Undocumented
    See more

    Declaration

    Objective-C
    @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
    Swift
    classGamingVideoUploader:NSObject
  • A model for an instant games switchAsync cross play request.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKSwitchContextContent:NSObject<NSSecureCoding,FBSDKValidatable>
    Swift
    classSwitchContextContent:NSObject,NSSecureCoding,ValidatableProtocol