AVContentKeySession.MakeSecureToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a secure temporary key for the provided persistent key, and passes the result to the provided handler
.
[Foundation.Export("makeSecureTokenForExpirationDateOfPersistableContentKey:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MakeSecureToken (Foundation.NSData persistableContentKeyData, Action<Foundation.NSData,Foundation.NSError> handler);
abstract member MakeSecureToken : Foundation.NSData * Action<Foundation.NSData, Foundation.NSError> -> unit
override this.MakeSecureToken : Foundation.NSData * Action<Foundation.NSData, Foundation.NSError> -> unit
Parameters
- persistableContentKeyData
- NSData
The existing persistable content key data.
- Attributes