Bagikan melalui


ContentKeyPolicyOption Class

Definition

Represents a policy option.

public class ContentKeyPolicyOption
type ContentKeyPolicyOption = class
Public Class ContentKeyPolicyOption
Inheritance
ContentKeyPolicyOption

Constructors

ContentKeyPolicyOption(ContentKeyPolicyConfiguration, ContentKeyPolicyRestriction)

Initializes a new instance of ContentKeyPolicyOption.

Properties

Configuration

The key delivery configuration. Please note ContentKeyPolicyConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyFairPlayConfiguration, ContentKeyPolicyPlayReadyConfiguration, ContentKeyPolicyUnknownConfiguration and ContentKeyPolicyWidevineConfiguration.

Name

The Policy Option description.

PolicyOptionId

The legacy Policy Option ID.

Restriction

The requirements that must be met to deliver keys with this configuration Please note ContentKeyPolicyRestriction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContentKeyPolicyOpenRestriction, ContentKeyPolicyTokenRestriction and ContentKeyPolicyUnknownRestriction.

Applies to