你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContentKeyPolicyPlayReadyLicense 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ContentKeyPolicyPlayReadyLicense() |
初始化 ContentKeyPolicyPlayReadyLicense 类的新实例。 |
ContentKeyPolicyPlayReadyLicense(Boolean, ContentKeyPolicyPlayReadyLicenseType, ContentKeyPolicyPlayReadyContentKeyLocation, ContentKeyPolicyPlayReadyContentType, Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>, ContentKeyPolicyPlayReadyPlayRight) |
初始化 ContentKeyPolicyPlayReadyLicense 类的新实例。 |
ContentKeyPolicyPlayReadyLicense()
初始化 ContentKeyPolicyPlayReadyLicense 类的新实例。
public ContentKeyPolicyPlayReadyLicense();
Public Sub New ()
适用于
ContentKeyPolicyPlayReadyLicense(Boolean, ContentKeyPolicyPlayReadyLicenseType, ContentKeyPolicyPlayReadyContentKeyLocation, ContentKeyPolicyPlayReadyContentType, Nullable<DateTime>, Nullable<DateTime>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>, ContentKeyPolicyPlayReadyPlayRight)
初始化 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)
参数
- allowTestDevices
- Boolean
指示测试设备是否可以使用许可证的标志。
- licenseType
- ContentKeyPolicyPlayReadyLicenseType
许可证类型。 可能的值包括:“Unknown”、“NonPersistent”、“Persistent”
- contentKeyLocation
- ContentKeyPolicyPlayReadyContentKeyLocation
内容密钥位置。
- contentType
- ContentKeyPolicyPlayReadyContentType
PlayReady 内容类型。 可能的值包括:“Unknown”、“Unspecified”、“UltraVioletDownload”、“UltraVioletStreaming”
- playRight
- ContentKeyPolicyPlayReadyPlayRight
许可证 PlayRight