addEvent

fun addEvent(    name: String,     type: EventType,     parameters: Any? = null)

Send custom events to WatchRTC's backend.

Parameters

name

custom event name

type

Event type. @see EventType.

parameters

Optional custom data.