Package org.robovm.apple.avfoundation
Class AVContentKeySession
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVContentKeySession
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class AVContentKeySession extends NSObject
- Since:
- Available in iOS 10.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVContentKeySession.AVContentKeySessionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AVContentKeySession()
AVContentKeySession(java.lang.String keySystem)
AVContentKeySession(java.lang.String keySystem, NSURL storageURL)
protected
AVContentKeySession(NSObject.Handle h, long handle)
protected
AVContentKeySession(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
AVContentKeySession
protected AVContentKeySession()
-
AVContentKeySession
protected AVContentKeySession(NSObject.Handle h, long handle)
-
AVContentKeySession
protected AVContentKeySession(NSObject.SkipInit skipInit)
-
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
-
getDelegate
public AVContentKeySessionDelegate getDelegate()
-
getDelegateQueue
public DispatchQueue getDelegateQueue()
-
getStorageURL
public NSURL getStorageURL()
-
getKeySystem
public java.lang.String getKeySystem()
-
getContentProtectionSessionIdentifier
public NSData getContentProtectionSessionIdentifier()
-
getContentKeyRecipients
public NSArray<?> getContentKeyRecipients()
-
setDelegate
public void setDelegate(AVContentKeySessionDelegate delegate, DispatchQueue delegateQueue)
-
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)
-
addContentKeyRecipient
public void addContentKeyRecipient(AVContentKeyRecipient recipient)
-
removeContentKeyRecipient
public void removeContentKeyRecipient(AVContentKeyRecipient recipient)
-
pendingExpiredSessionReportsWithAppIdentifier
public static NSArray<NSData> pendingExpiredSessionReportsWithAppIdentifier(NSData appIdentifier, NSURL storageURL)
-
-