AVContentKeySession.MakeSecureTokenAsync(NSData) Metodo

Definizione

Crea una chiave temporanea sicura per la chiave persistente specificata e passa il risultato all'oggetto specificato handler.

[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 System.Threading.Tasks.Task<Foundation.NSData> MakeSecureTokenAsync (Foundation.NSData persistableContentKeyData);
abstract member MakeSecureTokenAsync : Foundation.NSData -> System.Threading.Tasks.Task<Foundation.NSData>
override this.MakeSecureTokenAsync : Foundation.NSData -> System.Threading.Tasks.Task<Foundation.NSData>

Parametri

persistableContentKeyData
NSData

Dati della chiave di contenuto persistenti esistenti.

Restituisce

Attività che rappresenta l'operazione MakeSecureToken asincrona. Il valore del parametro TResult è di tipo System.Action<Foundation.NSData,Foundation.NSError>.

Attributi

Commenti

Il metodo MakeSecureTokenAsync è adatto per essere usato con Async C# restituendo il controllo al chiamante con un'attività che rappresenta l'operazione.

Da aggiungere.

Si applica a