UNPKG

theta-client-react-native

Version:

This library provides a way to control RICOH THETA using.

20 lines 719 B
import { NativeEventEmitter, type EmitterSubscription } from 'react-native'; export interface BaseNotify { name: string; params?: any; } export declare class NotifyController { static _instance: NotifyController; static get instance(): NotifyController; eventEmitter?: NativeEventEmitter; eventListener?: EmitterSubscription; notifyList: Map<string, ((notify: BaseNotify) => void) | undefined>; init(): void; isInit(): boolean; release(): void; addNotify(name: string, callback: (notify: BaseNotify) => void): void; removeNotify(name: string): void; existsNotify(name: string): boolean; private addNotifyListener; } //# sourceMappingURL=notify-controller.d.ts.map