편집

다음을 통해 공유


AVContentKeySession.Create Method

Definition

Overloads

Create(String)

Creates a new session for the provided set of decryption keys.

Create(AVContentKeySystem, NSUrl)

Creates a new session for the provided error storage URL and set of decryption keys.

Create(NSString, NSUrl)

Creates a new session for the provided error storage URL and set of decryption keys.

Create(String)

Creates a new session for the provided set of decryption keys.

[Foundation.Export("contentKeySessionWithKeySystem:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVContentKeySession Create (string keySystem);
static member Create : string -> AVFoundation.AVContentKeySession

Parameters

keySystem
String

The key system for the session.

Returns

Attributes

Applies to

Create(AVContentKeySystem, NSUrl)

Creates a new session for the provided error storage URL and set of decryption keys.

public static AVFoundation.AVContentKeySession Create (AVFoundation.AVContentKeySystem keySystem, Foundation.NSUrl storageUrl);
static member Create : AVFoundation.AVContentKeySystem * Foundation.NSUrl -> AVFoundation.AVContentKeySession

Parameters

keySystem
AVContentKeySystem

The key system for the session.

storageUrl
NSUrl

The directory at which to store abnormal termination reports

Returns

Applies to

Create(NSString, NSUrl)

Creates a new session for the provided error storage URL and set of decryption keys.

[Foundation.Export("contentKeySessionWithKeySystem:storageDirectoryAtURL:")]
public static AVFoundation.AVContentKeySession Create (Foundation.NSString keySystem, Foundation.NSUrl storageUrl);
static member Create : Foundation.NSString * Foundation.NSUrl -> AVFoundation.AVContentKeySession

Parameters

keySystem
NSString

The key system for the session.

storageUrl
NSUrl

The directory at which to store abnormal termination reports

This parameter can be null.

Returns

Attributes

Applies to