Interface TheoLiveApi

The THEOlive api.

interface TheoLiveApi {
    badNetworkMode: boolean;
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<TheoLiveApiEventMap[TType]>): void;
    preloadPublications(publicationIds: string[]): Promise<TheoLivePublication[]>;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<TheoLiveApiEventMap[TType]>): void;
}

Hierarchy (view full)

Properties

badNetworkMode: boolean

Methods