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