bitmovin-player-react-native
Version:
Official React Native bindings for Bitmovin's mobile Player SDKs.
20 lines • 808 B
TypeScript
import { NativeModule } from 'expo-modules-core';
export type FullscreenHandlerModuleEvents = {
onEnterFullscreen: ({ nativeId, id, }: {
nativeId: string;
id: number;
}) => void;
onExitFullscreen: ({ nativeId, id, }: {
nativeId: string;
id: number;
}) => void;
};
declare class FullscreenHandlerModule extends NativeModule<FullscreenHandlerModuleEvents> {
registerHandler(nativeId: string): Promise<void>;
destroy(nativeId: string): Promise<void>;
notifyFullscreenChanged(id: number, isFullscreenEnabled: boolean): Promise<void>;
setIsFullscreenActive(nativeId: string, isFullscreenActive: boolean): Promise<void>;
}
declare const _default: FullscreenHandlerModule;
export default _default;
//# sourceMappingURL=fullscreenHandlerModule.d.ts.map