E2EEEvent
constructor(type: E2EEEventType, name: String, userId: String?, trackType: E2EETrackType?, keyIndex: Int?, version: Int?, reason: String?, keyState: E2EEKeyState?, encodePerformance: List<E2EETrackPerformance>, decodePerformance: List<E2EETrackPerformance>)
Parameters
type
What happened. Prefer branching on this over name.
name
The event name as reported by the native layer, useful for logs.
userId
The participant the event concerns, when it is scoped to one.
trackType
The track the event concerns, when it is scoped to one.
keyIndex
The key index involved, for key-related events.
version
The frame format version, for E2EEEventType.UNSUPPORTED_VERSION.
reason
Extra detail from the native layer, when present.
keyState
The current key inventory, populated for E2EEEventType.KEY_STATE.
encodePerformance
Per-track encrypt timings, populated for E2EEEventType.PERF_REPORT.
decodePerformance
Per-track decrypt timings, populated for E2EEEventType.PERF_REPORT.