Class
    V2TIMVideoElem
public class V2TIMVideoElem : V2TIMElem  Definition of V2TIMVideoElem
Relationships
Superclass
- V2TIMElem
- Definition of V2TIMElem 
Initializers
        init()
    
    public override init()  Properties
        videoPath
    
    public var videoPath: String?  The video file path (can only be called by the message sender)
        snapshotPath
    
    public var snapshotPath: String?  The path of the screenshot file (can only be called by the message sender)
        videoUUID
    
    public var videoUUID: String?  The internal video ID, which can be used as the key for external caching
        snapshotUUID
    
    public var snapshotUUID: String?  The internal screenshot ID, which can be used as the key for external caching
Methods
        getVideoUrl(callback:)
    
    public func getVideoUrl(callback: @escaping (String?) -> (Void))  Get the video download URL
        getSnapshotUrl(callback:)
    
    public func getSnapshotUrl(callback: @escaping (String?) -> (Void))  Get the screenshot download URL
        downloadVideo(path:progress:succ:fail:)
    
    public func downloadVideo(path: String, progress: V2TIMDownLoadProgress?, succ: V2TIMSucc?, fail: V2TIMFail?)  Download a video. This API downloads data from the server. To cache or store the data, you can use the UUID as the key. The Chat SDK does not store the files.
Parameters
| Name | Type | Description | 
|---|---|---|
| path | String | The path to which the video file is saved. It must be specified externally. | 
        downloadSnapshot(path:progress:succ:fail:)
    
    public func downloadSnapshot(path: String, progress: V2TIMDownLoadProgress?, succ: V2TIMSucc?, fail: V2TIMFail?)  Download a video screenshot. This API downloads data from the server. To cache or store the data, you can use the UUID as the key. The Chat SDK does not store the files.
Parameters
| Name | Type | Description | 
|---|---|---|
| path | String | The path to which the screenshot file is saved. It must be specified externally. | 
 
          
          