Class
V2TIMImage
public class V2TIMImage
Definition of V2TIMImage
Initializers
init()
public init()
Properties
description
public var description: String
Methods
downloadImage(path:progress:succ:fail:)
public func downloadImage(path: String, progress: V2TIMDownLoadProgress?, succ: V2TIMSucc?, fail: V2TIMFail?)
Download image
The downloaded image needs to be cached by the developer. IM SDK will re-download the image from the server every time when downloadImage is called. It is recommended to use the uuid of the image as the key to store the image file.
Parameters
Name | Type | Description |
---|---|---|
path | String |
Image save path, need to be specified externally. |