bitmovin-player-react-native
Version:
Official React Native bindings for Bitmovin's mobile Player SDKs.
13 lines • 621 B
TypeScript
import { NativeModule } from 'expo-modules-core';
export type PlayerAnalyticsModuleEvents = Record<string, any>;
/**
* Native PlayerAnalyticsModule using Expo modules API.
* Provides modern async/await interface while maintaining backward compatibility.
*/
declare class PlayerAnalyticsModule extends NativeModule<PlayerAnalyticsModuleEvents> {
sendCustomDataEvent(playerId: string, customData: Record<string, any>): Promise<void>;
getUserId(playerId: string): Promise<string | null>;
}
declare const _default: PlayerAnalyticsModule;
export default _default;
//# sourceMappingURL=playerAnalyticsModule.d.ts.map