UNPKG

@100mslive/hms-video-store

Version:

@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow

20 lines (19 loc) 636 B
import AnalyticsEvent from './AnalyticsEvent'; import { HMSAnalyticsLevel } from './AnalyticsEventLevel'; import { AnalyticsTransport } from './AnalyticsTransport'; import { Store } from '../sdk/store'; export declare class AnalyticsEventsService { private store; private bufferSize; private readonly TAG; private transport; private pendingEvents; level: HMSAnalyticsLevel; constructor(store: Store); setTransport(transport: AnalyticsTransport): void; reset(): void; queue(event: AnalyticsEvent): this; flushFailedClientEvents(): void; flush(): void; private sendClientEventOnHTTP; }