Class AVContentKeySession

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class AVContentKeySession
    extends NSObject
    Since:
    Available in iOS 10.3 and later.
    • Constructor Detail

      • AVContentKeySession

        protected AVContentKeySession()
      • AVContentKeySession

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

        public AVContentKeySession​(java.lang.String keySystem)
        Since:
        Available in iOS 11.0 and later.
      • AVContentKeySession

        public AVContentKeySession​(java.lang.String keySystem,
                                   NSURL storageURL)
    • Method Detail

      • getStorageURL

        public NSURL getStorageURL()
      • getKeySystem

        public java.lang.String getKeySystem()
      • getContentProtectionSessionIdentifier

        public NSData getContentProtectionSessionIdentifier()
      • getContentKeyRecipients

        public NSArray<?> getContentKeyRecipients()
      • expire

        public void expire()
      • processContentKeyRequestWithIdentifier

        public void processContentKeyRequestWithIdentifier​(NSObject identifier,
                                                           NSData initializationData,
                                                           NSDictionary<NSString,​?> options)
      • renewExpiringResponseDataForContentKeyRequest

        public void renewExpiringResponseDataForContentKeyRequest​(AVContentKeyRequest contentKeyRequest)
      • makeSecureTokenForExpirationDateOfPersistableContentKey

        public void makeSecureTokenForExpirationDateOfPersistableContentKey​(NSData persistableContentKeyData,
                                                                            org.robovm.objc.block.VoidBlock2<NSData,​NSError> handler)
        Since:
        Available in iOS 11.0 and later.
      • invalidatePersistableContentKey

        public void invalidatePersistableContentKey​(NSData persistableContentKeyData,
                                                    NSDictionary<NSString,​?> options,
                                                    org.robovm.objc.block.VoidBlock2<NSData,​NSError> handler)
        Since:
        Available in iOS 12.2 and later.
      • invalidateAllPersistableContentKeys

        public void invalidateAllPersistableContentKeys​(NSData appIdentifier,
                                                        NSDictionary<NSString,​?> options,
                                                        org.robovm.objc.block.VoidBlock2<NSData,​NSError> handler)
        Since:
        Available in iOS 12.2 and later.
      • create

        protected static long create​(java.lang.String keySystem)
        Since:
        Available in iOS 11.0 and later.
      • create

        protected static long create​(java.lang.String keySystem,
                                     NSURL storageURL)
      • pendingExpiredSessionReportsWithAppIdentifier

        public static NSArray<NSData> pendingExpiredSessionReportsWithAppIdentifier​(NSData appIdentifier,
                                                                                    NSURL storageURL)
      • removePendingExpiredSessionReports

        public static void removePendingExpiredSessionReports​(NSArray<NSData> expiredSessionReports,
                                                              NSData appIdentifier,
                                                              NSURL storageURL)