Interface: BroadcastClientEventPayloads
Helper interface for creating TypeScript-capable Event Emitter implementations. This maps the BroadcastClientEvents to their respective payload type.
Properties
activeStateChange
• activeStateChange: boolean
Maps the BroadcastClientEvents.ACTIVE_STATE_CHANGE type to 'boolean'.
clientError
• clientError: BroadcastClientError
Maps the BroadcastClientEvents.ERROR type to BroadcastClientError.
connectionStateChange
• connectionStateChange: string
Maps the BroadcastClientEvents.CONNECTION_STATE_CHANGE type to 'string'.