Public Attributes | |
| ORIGINAL | |
| BIG | |
| THUMBNAIL | |
The attachment download types.
This enum must be used together with the message body type. The supported download types for each message body type are as follows:
Type#IMAGE: Supports downloading the original image ORIGINAL, large image BIG, and thumbnail THUMBNAIL. Type#VIDEO: Supports downloading the original file ORIGINAL and thumbnail THUMBNAIL. Type#VOICE: Supports downloading the original file ORIGINAL. Type#FILE: Supports downloading the original file ORIGINAL. Type#COMBINE: Supports downloading the original file ORIGINAL. Other message types do not support attachment downloads.
| com.hyphenate.chat.EMChatManager.AttachmentDownloadType.BIG |
Downloads the large image.
This type applies to image messages only.
| com.hyphenate.chat.EMChatManager.AttachmentDownloadType.ORIGINAL |
Downloads the original attachment.
For image messages, this refers to the original image; for video, voice, file, and other messages, this refers to the original file.
| com.hyphenate.chat.EMChatManager.AttachmentDownloadType.THUMBNAIL |
Downloads the thumbnail.
This type is supported for both image and video messages.