bitmovin-player-react-native
Version:
Official React Native bindings for Bitmovin's mobile Player SDKs.
15 lines • 649 B
TypeScript
import { NativeModule } from 'expo-modules-core';
export type MediaControlsModuleEvents = Record<string, any>;
declare class MediaControlsModule extends NativeModule<MediaControlsModuleEvents> {
/**
* Get whether the media controls integration is enabled for the specified player.
*/
isEnabled(playerId: string): Promise<boolean | null>;
/**
* Enable or disable the media controls integration for the specified player.
*/
setEnabled(playerId: string, enabled: boolean): Promise<void>;
}
declare const _default: MediaControlsModule | null;
export default _default;
//# sourceMappingURL=MediaControlsModule.d.ts.map