Udostępnij za pośrednictwem


ContentKeyPolicyPlayReadyLicense Constructors

Definition

Overloads

ContentKeyPolicyPlayReadyLicense()

Initializes a new instance of the ContentKeyPolicyPlayReadyLicense class.

ContentKeyPolicyPlayReadyLicense(Boolean, ContentKeyPolicyPlayReadyLicenseType, ContentKeyPolicyPlayReadyContentKeyLocation, ContentKeyPolicyPlayReadyContentType, Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>, ContentKeyPolicyPlayReadyPlayRight)

Initializes a new instance of the ContentKeyPolicyPlayReadyLicense class.

ContentKeyPolicyPlayReadyLicense()

Initializes a new instance of the ContentKeyPolicyPlayReadyLicense class.

public ContentKeyPolicyPlayReadyLicense ();
Public Sub New ()

Applies to

ContentKeyPolicyPlayReadyLicense(Boolean, ContentKeyPolicyPlayReadyLicenseType, ContentKeyPolicyPlayReadyContentKeyLocation, ContentKeyPolicyPlayReadyContentType, Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>, ContentKeyPolicyPlayReadyPlayRight)

Initializes a new instance of the ContentKeyPolicyPlayReadyLicense class.

public ContentKeyPolicyPlayReadyLicense (bool allowTestDevices, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyLicenseType licenseType, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyContentKeyLocation contentKeyLocation, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyContentType contentType, DateTime? beginDate = default, DateTime? expirationDate = default, TimeSpan? relativeBeginDate = default, TimeSpan? relativeExpirationDate = default, TimeSpan? gracePeriod = default, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyPlayRight playRight = default);
new Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyLicense : bool * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyLicenseType * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyContentKeyLocation * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyContentType * Nullable<DateTime> * Nullable<DateTime> * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyPlayRight -> Microsoft.Azure.Management.Media.Models.ContentKeyPolicyPlayReadyLicense
Public Sub New (allowTestDevices As Boolean, licenseType As ContentKeyPolicyPlayReadyLicenseType, contentKeyLocation As ContentKeyPolicyPlayReadyContentKeyLocation, contentType As ContentKeyPolicyPlayReadyContentType, Optional beginDate As Nullable(Of DateTime) = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional relativeBeginDate As Nullable(Of TimeSpan) = Nothing, Optional relativeExpirationDate As Nullable(Of TimeSpan) = Nothing, Optional gracePeriod As Nullable(Of TimeSpan) = Nothing, Optional playRight As ContentKeyPolicyPlayReadyPlayRight = Nothing)

Parameters

allowTestDevices
Boolean

A flag indicating whether test devices can use the license.

licenseType
ContentKeyPolicyPlayReadyLicenseType

The license type. Possible values include: 'Unknown', 'NonPersistent', 'Persistent'

contentKeyLocation
ContentKeyPolicyPlayReadyContentKeyLocation

The content key location.

contentType
ContentKeyPolicyPlayReadyContentType

The PlayReady content type. Possible values include: 'Unknown', 'Unspecified', 'UltraVioletDownload', 'UltraVioletStreaming'

beginDate
Nullable<DateTime>

The begin date of license

expirationDate
Nullable<DateTime>

The expiration date of license.

relativeBeginDate
Nullable<TimeSpan>

The relative begin date of license.

relativeExpirationDate
Nullable<TimeSpan>

The relative expiration date of license.

gracePeriod
Nullable<TimeSpan>

The grace period of license.

playRight
ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

Applies to