Video.Video

Methods

off

off<T>(event, fn?): EmitterContract<RealTimeVideoApiEventsDocs>

Type parameters

NameType
Textends keyof RealTimeVideoApiEventsDocs

Parameters

NameType
eventT
fn?(...args: ArgumentMap<RealTimeVideoApiEventsDocs>[Extract<T, keyof RealTimeVideoApiEventsDocs>]) => void

Returns

EmitterContract<RealTimeVideoApiEventsDocs>


on

on<T>(event, fn): EmitterContract<RealTimeVideoApiEventsDocs>

Type parameters

NameType
Textends keyof RealTimeVideoApiEventsDocs

Parameters

NameType
eventT
fn(...args: ArgumentMap<RealTimeVideoApiEventsDocs>[Extract<T, keyof RealTimeVideoApiEventsDocs>]) => void

Returns

EmitterContract<RealTimeVideoApiEventsDocs>


once

once<T>(event, fn): EmitterContract<RealTimeVideoApiEventsDocs>

Type parameters

NameType
Textends keyof RealTimeVideoApiEventsDocs

Parameters

NameType
eventT
fn(...args: ArgumentMap<RealTimeVideoApiEventsDocs>[Extract<T, keyof RealTimeVideoApiEventsDocs>]) => void

Returns

EmitterContract<RealTimeVideoApiEventsDocs>


removeAllListeners

removeAllListeners<T>(event?): EmitterContract<RealTimeVideoApiEventsDocs>

Type parameters

NameType
Textends keyof RealTimeVideoApiEventsDocs

Parameters

NameType
event?T

Returns

EmitterContract<RealTimeVideoApiEventsDocs>