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

Overview

A video for sharing.

Properties

previewPhoto

The photo that represents the video. - Returns: The photo

@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto

Declared In

FBSDKShareVideo.h

videoURL

The file URL to the video. - Returns: URL that points to the location of the video on disk

@property (nonatomic, copy) NSURL *videoURL

Declared In

FBSDKShareVideo.h

Class Methods

videoWithVideoURL:

Convenience method to build a new video object with a videoURL. - Parameter videoURL: The URL to the video

+ (instancetype)videoWithVideoURL:(NSURL *)videoURL

Declared In

FBSDKShareVideo.h

videoWithVideoURL:previewPhoto:

Convenience method to build a new video object with a videoURL and a previewPhoto - Parameter videoURL: The URL to the video - Parameter previewPhoto: The photo that represents the video

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

Declared In

FBSDKShareVideo.h

Instance Methods

isEqualToShareVideo:

Compares the receiver to another video. - Parameter video: The other video - Returns: YES if the receiver’s values are equal to the other video’s values; otherwise NO

- (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video

Declared In

FBSDKShareVideo.h