nativescript-opentok
Version:
Integrates OpenTok for NativeScript.
29 lines (28 loc) • 997 B
TypeScript
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;
}