FBSDKShareVideo
A more recent version of this class is available. Check out the latest version.

A video for sharing.

Conforms to:FBSDKCopying, NSSecureCoding
Superclass:NSObject
Declared in:FBSDKShareVideo.h
Properties
previewPhoto

The photo that represents the video.

@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto;
Declared In: FBSDKShareVideo.h
videoURL

The file URL to the video.

@property (nonatomic, copy) NSURL *videoURL;
Declared In: FBSDKShareVideo.h
Class Methods
videoWithVideoURL:

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

ParameterDescription
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

ParameterDescription
videoURL

The URL to the video

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.

ParameterDescription
video

The other video

- (BOOL) isEqualToShareVideo:(FBSDKShareVideo *)video;
Declared In: FBSDKShareVideo.h