IRoomNodeSocketService

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract suspend fun connect()
Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard
abstract fun refreshUrl(peerId: String)

Generates a new RoomNode socket link with the provided peerId.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun sendMessage(payload: JsonElement?): String
abstract suspend fun sendMessage(outboundMeetingEventType: OutboundMeetingEventType, payload: JsonElement?): String
Link copied to clipboard
abstract suspend fun sendMessageAsync(outboundMeetingEventType: OutboundMeetingEventType, payload: JsonElement?)
Link copied to clipboard
abstract suspend fun <T> sendMessageParsed(outboundMeetingEventType: OutboundMeetingEventType, payload: JsonElement?): T
Link copied to clipboard
abstract suspend fun sendMessageSyncGeneric(payload: JsonObject): String
Link copied to clipboard
abstract suspend fun sendPacket(payload: JsonElement?): Result<String, DyteError>
abstract suspend fun sendPacket(outboundMeetingEventType: OutboundMeetingEventType, payload: JsonElement?): Result<String, DyteError>