Home > @rainway/native > MessageEventStandalone
MessageEventStandalone class
An event that occurs when a DataChannel gets a message that does not expect a response.
Signature:
export declare class MessageEventStandalone extends BaseEvent<Uint8Array>
Extends: BaseEvent<Uint8Array>
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the MessageEventStandalone class.
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| asString | string | UTF8 representation of the message data. | |
| type | MessageEventType.Standalone | The message type, which indicates whether a response is expected. |
