ContentKeyPolicyPlayReadyLicense Constructor
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.
Initializes a new instance of ContentKeyPolicyPlayReadyLicense.
public ContentKeyPolicyPlayReadyLicense (bool allowTestDevices, Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyLicenseType licenseType, Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyContentKeyLocation contentKeyLocation, Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyContentType contentType);
new Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyLicense : bool * Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyLicenseType * Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyContentKeyLocation * Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyContentType -> Azure.ResourceManager.Media.Models.ContentKeyPolicyPlayReadyLicense
Public Sub New (allowTestDevices As Boolean, licenseType As ContentKeyPolicyPlayReadyLicenseType, contentKeyLocation As ContentKeyPolicyPlayReadyContentKeyLocation, contentType As ContentKeyPolicyPlayReadyContentType)
Parameters
- allowTestDevices
- Boolean
A flag indicating whether test devices can use the license.
- licenseType
- ContentKeyPolicyPlayReadyLicenseType
The license type.
- contentKeyLocation
- ContentKeyPolicyPlayReadyContentKeyLocation
The content key location. Please note ContentKeyPolicyPlayReadyContentKeyLocation 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 ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader and ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.
- contentType
- ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
Exceptions
contentKeyLocation
is null.
Applies to
Azure SDK for .NET