Class AVContentKey

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class AVContentKey
extends NSObject
Since:
Available in iOS 14.5 and later.
  • Constructor Details

    • AVContentKey

      public AVContentKey()
    • AVContentKey

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

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

    • getContentKeySpecifier

      public AVContentKeySpecifier getContentKeySpecifier()
    • SystemFairPlayStreaming

      public static String SystemFairPlayStreaming()
      Since:
      Available in iOS 10.3 and later.
    • SystemClearKey

      public static String SystemClearKey()
      Since:
      Available in iOS 11.0 and later.
    • SystemAuthorizationToken

      public static String SystemAuthorizationToken()
      Since:
      Available in iOS 13.0 and later.
    • SessionServerPlaybackContextOptionProtocolVersions

      public static String SessionServerPlaybackContextOptionProtocolVersions()
      Since:
      Available in iOS 12.2 and later.
    • SessionServerPlaybackContextOptionServerChallenge

      public static String SessionServerPlaybackContextOptionServerChallenge()
      Since:
      Available in iOS 12.2 and later.
    • RequestRetryReasonTimedOut

      public static String RequestRetryReasonTimedOut()
      Since:
      Available in iOS 10.3 and later.
    • RequestRetryReasonReceivedResponseWithExpiredLease

      public static String RequestRetryReasonReceivedResponseWithExpiredLease()
      Since:
      Available in iOS 10.3 and later.
    • RequestRetryReasonReceivedObsoleteContentKey

      public static String RequestRetryReasonReceivedObsoleteContentKey()
      Since:
      Available in iOS 10.3 and later.
    • RequestRequiresValidationDataInSecureTokenKey

      public static String RequestRequiresValidationDataInSecureTokenKey()
      Since:
      Available in iOS 13.0 and later.
    • RequestProtocolVersionsKey

      public static String RequestProtocolVersionsKey()
      Since:
      Available in iOS 10.3 and later.
    • attachToSampleBuffer

      public static boolean attachToSampleBuffer​(CMSampleBuffer sbuf, AVContentKey contentKey) throws NSErrorException
      Throws:
      NSErrorException
      Since:
      Available in iOS 14.5 and later.
    • attachToSampleBuffer

      public boolean attachToSampleBuffer​(CMSampleBuffer sbuf) throws NSErrorException
      Throws:
      NSErrorException
      Since:
      Available in iOS 14.5 and later.