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