Media Message Content
The parent class for all media type messages in the SDK.
All media type messages (e.g., images, files, etc.) in the SDK inherit from this class. Developers must inherit from this class if they need to upload custom media type messages to RongCloud's default server (the SDK handles the upload of media messages and their sending after successful upload, while developers are responsible for displaying the received messages). The following attributes need to be processed by subclasses in the `encode` and `decode` methods along with extended attributes.
Functions
Link copied to clipboard
Gets the local path of the media content (this property must have a value)
Link copied to clipboard
Retrieves the network address of the media content after it has been uploaded to the server (the SDK will assign a value to this property upon successful upload).
Link copied to clipboard
Sets the local path for retrieving media content (this property must have a value)
Link copied to clipboard
Sets the network address of the media content after it is uploaded to the server (the SDK will assign a value to this property after a successful upload)