Other Categories

The following categories are available globally.

  • Declaration

    Objective-C

    @interface AVContentKeySession (SWIFT_EXTENSION(OPYSDKFPS))
    /// Prefetch license
    /// \param identifier license identifier.  Usually comes from playlist.  For <em>FairPlay</em>, it should be <code>skd://.....</code>
    ///
    /// \param options key request option. refer <code>OTVDRMManager.Keys.OTVLicenseOptionOffline</code>
    ///
    - (void)requestLicenseWithIdentifier:(NSString * _Nonnull)identifier license:(NSDictionary<NSString *, id> * _Nullable)options;
    /// Erase the license persistence on the local storage.
    /// \param identifier license identifier. same format when used in <code>requestLicense</code>.
    ///
    ///
    /// returns:
    /// <code>true</code> - the license has successfully been erased from local system.
    /// <code>false</code> - the license does not exist.
    - (BOOL)eraseOfflineLicenseWithIdentifier:(NSString * _Nonnull)identifier SWIFT_WARN_UNUSED_RESULT;
    @end