Partager via


ContentKeyPolicyPlayReadyLicense Constructeurs

Définition

Surcharges

ContentKeyPolicyPlayReadyLicense()

Initialise une nouvelle instance de la classe ContentKeyPolicyPlayReadyLicense.

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

Initialise une nouvelle instance de la classe ContentKeyPolicyPlayReadyLicense.

ContentKeyPolicyPlayReadyLicense()

Initialise une nouvelle instance de la classe ContentKeyPolicyPlayReadyLicense.

public ContentKeyPolicyPlayReadyLicense ();
Public Sub New ()

S’applique à

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

Initialise une nouvelle instance de la classe ContentKeyPolicyPlayReadyLicense.

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)

Paramètres

allowTestDevices
Boolean

Indicateur indiquant si les appareils de test peuvent utiliser la licence.

licenseType
ContentKeyPolicyPlayReadyLicenseType

Type de licence. Les valeurs possibles sont les suivantes : 'Unknown', 'NonPersistent', 'Persistent'

contentKeyLocation
ContentKeyPolicyPlayReadyContentKeyLocation

Emplacement de la clé de contenu.

contentType
ContentKeyPolicyPlayReadyContentType

Type de contenu PlayReady. Les valeurs possibles sont les suivantes : 'Unknown', 'Unspecified', 'UltraVioletDownload', 'UltraVioletStreaming'

beginDate
Nullable<DateTime>

Date de début de la licence

expirationDate
Nullable<DateTime>

Date d’expiration de la licence.

relativeBeginDate
Nullable<TimeSpan>

Date de début relative de la licence.

relativeExpirationDate
Nullable<TimeSpan>

Date d’expiration relative de la licence.

gracePeriod
Nullable<TimeSpan>

Période de grâce de la licence.

playRight
ContentKeyPolicyPlayReadyPlayRight

La licence PlayRight

S’applique à