UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

26 lines 1.07 kB
import type { ContentProtectionAPI } from 'react-native-theoplayer'; import type { KeySystemId } from 'react-native-theoplayer'; import type { ContentProtectionIntegrationFactory } from 'react-native-theoplayer'; export declare class NativeContentProtectionRegistry implements ContentProtectionAPI { private emitter; private registeredFactories; private currentIntegration; constructor(); registerContentProtectionIntegration(integrationId: string, keySystemId: KeySystemId, integrationFactory: ContentProtectionIntegrationFactory): void; private getFactory; private getIntegration; private onBuildIntegrationRequest; private onCertificateRequest; private onCertificateResponse; private onLicenseRequest; private onLicenseResponse; private onExtractFairplayContentId; } /** * The registry for adding custom content protection (DRM) integrations. * * @category Content Protection * @public */ export declare const ContentProtectionRegistry: ContentProtectionAPI; //# sourceMappingURL=ContentProtectionRegistry.d.ts.map