UNPKG

nativescript-opentok

Version:
21 lines (20 loc) 747 B
import { Observable } from 'data/observable'; import { ContentView } from 'ui/content-view'; import { TNSOTSession } from './session'; export declare class TNSOTPublisher extends ContentView { private _ios; private _view; private _publisherKitDelegate; constructor(); publish(session: TNSOTSession, name?: string, cameraResolution?: string, cameraFrameRate?: string): void; unpublish(session: TNSOTSession): void; readonly ios: any; readonly _nativeView: any; private setIdleTimer(idleTimerDisabled); private getCameraResolution(cameraResolution); private getCameraFrameRate(cameraFrameRate); cycleCamera(): void; toggleCamera(): void; toggleMute(): void; readonly events: Observable; }