Inherits from NSObject
Conforms to FBSDKCopying
NSSecureCoding
Declared in FBSDKShareVideo.h

Properties

previewPhoto

The photo that represents the video.

@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto

Return Value

The photo

Declared In

FBSDKShareVideo.h

videoURL

The file URL to the video.

@property (nonatomic, copy) NSURL *videoURL

Return Value

URL that points to the location of the video on disk

Declared In

FBSDKShareVideo.h

Class Methods

videoWithVideoURL:

Convenience method to build a new video object with a videoURL.

+ (instancetype)videoWithVideoURL:(NSURL *)videoURL

Parameters

videoURL

The URL to the video

Declared In

FBSDKShareVideo.h

videoWithVideoURL:previewPhoto:

Convenience method to build a new video object with a videoURL and a previewPhoto

+ (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto

Parameters

videoURL

The URL to the video

previewPhoto

The photo that represents the video

Declared In

FBSDKShareVideo.h

Instance Methods

isEqualToShareVideo:

Compares the receiver to another video.

- (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video

Parameters

video

The other video

Return Value

YES if the receiver’s values are equal to the other video’s values; otherwise NO

Declared In

FBSDKShareVideo.h