Type aliases
Callback
Callback: () => {}
PropertyKey
PropertyKey: string | number | symbol
Record
Record<K, T>: { [ P in K]: T }
Type parameters
genericAction
genericAction: { messageType: "RtmDataRequest"; type: "ping" | "pong" | "userData" }
Type declaration
messageType: "RtmDataRequest"
type: "ping" | "pong" | "userData"
muteRequest
mute
Request
: { device
: mutingDevice; isForceful
: boolean; messageType
: "MuteRequest"; mute
: boolean; rtcId
: number }Type declaration
isForceful: boolean
messageType: "MuteRequest"
mute: boolean
rtcId: number
userDataType
user
Data
Type
: { agora
: { rtc
: string; rtm
: string }; messageType
: "UserData"; role
: clientRoleRaw; rtcId
: number; rtmId
: string; uikit
: { framework
: string; platform
: string; version
: string }; username
?: string }Type declaration
agora: { rtc: string; rtm: string }
messageType: "UserData"
rtcId: number
rtmId: string
uikit: { framework: string; platform: string; version: string }
framework: string
platform: string
version: string
Optional username?: string