FBSDKShareVideo

A video for sharing.

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

The photo that represents the video.

@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto;
声明语言: FBSDKShareVideo.h
videoURL

The file URL to the video.

@property (nonatomic, copy) NSURL *videoURL;
声明语言: FBSDKShareVideo.h
类方法
videoWithVideoURL:

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

参数描述
videoURL

The URL to the video

+ (instancetype) videoWithVideoURL:(NSURL *)videoURL;
声明语言: FBSDKShareVideo.h
videoWithVideoURL:previewPhoto:

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

参数描述
videoURL

The URL to the video

previewPhoto

The photo that represents the video

+ (instancetype)
videoWithVideoURL: (NSURL *)videoURL
previewPhoto: (FBSDKSharePhoto *)previewPhoto;
声明语言: FBSDKShareVideo.h
实例方法
isEqualToShareVideo:

Compares the receiver to another video.

参数描述
video

The other video

- (BOOL) isEqualToShareVideo:(FBSDKShareVideo *)video;
声明语言: FBSDKShareVideo.h