RTCMessageContent

public abstract class RTCMessageContent

Base class for RTC message content.

Custom message types in the RTC module should extend this class. This class is for internal RTC module use only. External developers should not call this directly.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract Unit decode(ByteArray data)

Decodes the message content from a byte array.

Link copied to clipboard
public abstract ByteArray encode()

Encodes the message content into a byte array.

Link copied to clipboard
public abstract String getObjectName()

Gets the message type identifier (object name).