Class AVContentKeyRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
AVPersistableContentKeyRequest

public class AVContentKeyRequest
extends NSObject
Since:
Available in iOS 10.3 and later.
  • Constructor Details

    • AVContentKeyRequest

      public AVContentKeyRequest()
    • AVContentKeyRequest

      protected AVContentKeyRequest​(NSObject.Handle h, long handle)
    • AVContentKeyRequest

      protected AVContentKeyRequest​(NSObject.SkipInit skipInit)
  • Method Details

    • getStatus

      public AVContentKeyRequestStatus getStatus()
    • getError

      public NSError getError()
    • getIdentifier

      public NSObject getIdentifier()
    • getInitializationData

      public NSData getInitializationData()
    • getOptions

      public NSDictionary<NSString,​?> getOptions()
      Since:
      Available in iOS 12.2 and later.
    • canProvidePersistableContentKey

      public boolean canProvidePersistableContentKey()
    • getContentKeySpecifier

      public AVContentKeySpecifier getContentKeySpecifier()
      Since:
      Available in iOS 14.5 and later.
    • getContentKey

      public AVContentKey getContentKey()
      Since:
      Available in iOS 14.5 and later.
    • isRenewsExpiringResponseData

      public boolean isRenewsExpiringResponseData()
    • makeStreamingContentKeyRequestDataForApp

      public void makeStreamingContentKeyRequestDataForApp​(NSData appIdentifier, NSData contentIdentifier, NSDictionary<NSString,​?> options, VoidBlock2<NSData,​NSError> handler)
    • processContentKeyResponse

      public void processContentKeyResponse​(AVContentKeyResponse keyResponse)
    • processContentKeyResponseError

      public void processContentKeyResponseError​(NSError error)
    • respondByRequestingPersistableContentKeyRequest

      @Deprecated public void respondByRequestingPersistableContentKeyRequest()
      Deprecated.
      Deprecated in iOS 11.2. Use respondByRequestingPersistableContentKeyRequestAndReturnError:
      Since:
      Available in iOS 10.3 and later.
    • respondByRequestingPersistableContentKeyRequestAndReturnError

      public boolean respondByRequestingPersistableContentKeyRequestAndReturnError​(NSError.NSErrorPtr outError)
      Since:
      Available in iOS 11.2 and later.