react-native-theoplayer
Version:
A THEOplayer video component for react-native.
23 lines (21 loc) • 562 B
text/typescript
/**
* The {@link CachingTask}'s license API.
*
* @category Caching
* @public
*/
import type { DRMConfiguration } from 'react-native-theoplayer';
/**
* The {@link CachingTask}'s license API.
*
* @category Caching
* @public
*/
export interface CachingTaskLicense {
/**
* Renew all the licenses associated with this task.
*
* @param drmConfiguration - The DRM configuration used for license renewals. Defaults to the DRM configuration of the original sourceDescription when omitted.
*/
renew(drmConfiguration?: DRMConfiguration): void;
}