Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Inherits io.agora.rtm.RtmMessage.
Public Member Functions |
|
abstract long | getSize () |
abstract String | getMediaId () |
abstract void | setThumbnail (byte[] data) |
abstract byte[] | getThumbnail () |
abstract void | setFileName (String fileName) |
abstract String | getFileName () |
abstract void | setWidth (int width) |
abstract int | getWidth () |
abstract void | setHeight (int height) |
abstract int | getHeight () |
abstract void | setThumbnailWidth (int thumbnailWidth) |
abstract int | getThumbnailWidth () |
abstract void | setThumbnailHeight (int thumbnailHeight) |
abstract int | getThumbnailHeight () |
The class for setting and retrieving attributes of an image message.
|
abstract |
Gets the size of the uploaded image.
|
abstract |
Gets the media ID of the uploaded image.
|
abstract |
Sets the thumbnail of the uploaded image.
data | The thumbnail of the uploaded image. |
|
abstract |
Gets the thumbnail data of the uploaded image.
|
abstract |
Sets the filename of the uploaded image.
fileName |
The filename of the uploaded image. The total size of thumbnail and
fileName must not exceed 32 KB.
|
|
abstract |
Gets the filename of the uploaded image.
|
abstract |
Sets the width of the uploaded image.
getWidth
directly to get the width of the image.
width | The width of the uploaded image. |
|
abstract |
Gets the width of the uploaded image.
setWidth
overrides the width calculated by the SDK.
|
abstract |
Sets the height of the uploaded image.
getHeight
directly to get the height of the image.
height | The height of the uploaded image. Returns 0 if the SDK does not support the format of the uploaded image. |
|
abstract |
Gets the height of the uploaded image.
setHeight
overrides the height calculated by the SDK.
|
abstract |
Sets the width of the thumbnail.
thumbnailWidth | the The width of the thumbnail. |
|
abstract |
Gets the width of the thumbnail.
|
abstract |
Sets the height of the thumbnail.
thumbnailHeight | The height of the thumbnail. |
|
abstract |
Gets the height of the thumbnail.