EventApi
Manages PrivMX Bridge context custom events.
Parameters
connection
active connection to PrivMX Bridge
Throws
when passed Connection is not connected.
Manages PrivMX Bridge context custom events.
Parameters
connection
active connection to PrivMX Bridge
Throws
when passed Connection is not connected.
Manages PrivMX Bridge custom events.
Parameters
connection
active connection to PrivMX Bridge
Throws
when passed Connection is not connected.
Functions
Link copied to clipboard
expect fun emitEvent(contextId: String, users: List<UserWithPubKey>, channelName: String, eventData: ByteArray)
Emits the custom event on the given Context and channel.
Link copied to clipboard
Subscribe for the custom events on the given channel.
Subscribe for the custom events on the given channel.
Subscribe for the custom events on the given channel.
Link copied to clipboard
Unsubscribe from the custom events on the given channel.
Unsubscribe from the custom events on the given channel.
Unsubscribe from the custom events on the given channel.