MentraOS / examples /bluetooth /react-native /modules /mentra-video-stream-receiver /src /MentraVideoStreamReceiverModule.ts
Anirudh1950's picture
Add files using upload-large-folder tool
4a5ef51 verified
Raw History Blame Contribute Delete
534 Bytes
import {NativeModule, requireNativeModule} from 'expo';
import type {
MentraVideoStreamReceiverModuleEvents,
WebRtcReceiverResult,
} from './MentraVideoStreamReceiver.types';
declare class MentraVideoStreamReceiverModule extends NativeModule<MentraVideoStreamReceiverModuleEvents> {
isSupported(): Promise<boolean>;
startWebRtcReceiver(): Promise<WebRtcReceiverResult>;
stopWebRtcReceiver(): Promise<void>;
}
export default requireNativeModule<MentraVideoStreamReceiverModule>('MentraVideoStreamReceiver');