UNPKG

bitmovin-player-react-native

Version:

Official React Native bindings for Bitmovin's mobile Player SDKs.

15 lines (11 loc) 568 B
import { NativeModule, requireNativeModule } from 'expo-modules-core'; export type BitmovinCastManagerModuleEvents = Record<string, any>; declare class BitmovinCastManagerModule extends NativeModule<BitmovinCastManagerModuleEvents> { isInitialized(): Promise<boolean>; initializeCastManager(options?: Record<string, any>): Promise<void>; sendMessage(message: string, messageNamespace?: string): Promise<void>; updateContext?(): Promise<void>; // Android only } export default requireNativeModule<BitmovinCastManagerModule>( 'BitmovinCastManagerModule' );