SCSDKVideoSnapContent
Objective-C
@interface SCSDKVideoSnapContent : NSObject <SCSDKSnapContent>
Swift
class SCSDKVideoSnapContent : NSObject, SCSDKSnapContent
SCSDKVideoSnapContent is an implementation of the SCSDKSnapContent protocol. It provides a way to model a video Snap for sharing to Snapchat
-
@property snapVideo @brief SCSDKSnapVideo instance containing video data required for creating a video Snap.
Declaration
Objective-C
@property (nonatomic, strong, readonly) SCSDKSnapVideo *_Nonnull snapVideo;
Swift
var snapVideo: SCSDKSnapVideo { get }
-
Initializes an SCSDKVideoSnapContent instance.
Declaration
Objective-C
- (nonnull instancetype)initWithSnapVideo:(nonnull SCSDKSnapVideo *)snapVideo;
Swift
init(snapVideo: SCSDKSnapVideo)
Parameters
snapVideo
SCSDKSnapVideo instance containing video data to be used as a Snap.
Return Value
An SCSDKVideoSnapContent instance initialized with snapVideo.