UNPKG

nativescript-opentok

Version:
29 lines (28 loc) 997 B
import { View } from 'tns-core-modules/ui/core/view'; import { Observable } from "tns-core-modules/data/observable"; import { TNSOTSession } from "./session"; export declare class TNSOTPublisher extends View { private _publisher; static toggleVideoEvent: string; static toggleAudioEvent: string; static cycleCameraEvent: any; private _events; private _renderStyle; renderStyle: any; constructor(); readonly android: any; createNativeView(): any; publish(session: TNSOTSession, name?: string, cameraResolution?: string, cameraFrameRate?: string): void; static getCameraResolution(cameraResolution: any): any; static getCameraFrameRate(cameraFrameRate: any): any; readonly publisher: any; readonly events: Observable; toggleCamera(): void; toggleVideo(): void; toggleMute(): void; publishVideo: boolean; publishAudio: boolean; cycleCamera(): void; instance(): any; unpublish(session: TNSOTSession): void; }