Classes
The following classes are available globally.
@interface
FBSDKChooseContextContent
:
NSObject
<
FBSDKValidatable
>
class
ChooseContextContent
:
NSObject
,
ValidatableProtocol
@interface
FBSDKChooseContextDialog
:
FBSDKContextWebDialog
class
ChooseContextDialog
:
ContextWebDialog
@interface
FBSDKContextWebDialog
:
NSObject
class
ContextWebDialog
:
NSObject
@interface
FBSDKCreateContextContent
:
NSObject
<
NSSecureCoding
,
FBSDKValidatable
>
class
CreateContextContent
:
NSObject
,
NSSecureCoding
,
ValidatableProtocol
@interface
FBSDKCreateContextDialog
:
FBSDKContextWebDialog
class
CreateContextDialog
:
ContextWebDialog
@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
class
FriendFinderDialog
:
NSObject
@interface
FBSDKGamingGroupIntegration
:
NSObject
+
(
void
)
openGroupPageWithCompletionHandler
:(
FBSDKGamingServiceCompletionHandler
_Nonnull
)
completionHandler
;
@end
class
GamingGroupIntegration
:
NSObject
@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
class
GamingImageUploader
:
NSObject
@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
class
GamingVideoUploader
:
NSObject
@interface
FBSDKSwitchContextContent
:
NSObject
<
NSSecureCoding
,
FBSDKValidatable
>
class
SwitchContextContent
:
NSObject
,
NSSecureCoding
,
ValidatableProtocol