Instance Methods | |
| (void) | - downloadImage:progress:succ:fail: |
Properties | |
| NSString * | uuid |
| V2TIMImageType | type |
| int | size |
| int | width |
| int | height |
| NSString * | url |
| - (void) downloadImage: | (NSString *) | path | |
| progress: | (V2TIMDownLoadProgress) | progress | |
| succ: | (V2TIMSucc) | succ | |
| fail: | (V2TIMFail) | fail | |
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.
| path | Image save path, need to be specified externally. |
|
readnonatomicstrong |
Image ID.
|
readnonatomicassign |
Image type.
|
readnonatomicassign |
Image file size.
|
readnonatomicassign |
Image width.
|
readnonatomicassign |
Image height.
|
readnonatomicstrong |
Image download url.