PlayReadyLicenseIterable 类

定义

公开 PlayReadyLicense 类迭代器。

public ref class PlayReadyLicenseIterable sealed : IIterable<IPlayReadyLicense ^>
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PlayReadyLicenseIterable final : IIterable<IPlayReadyLicense>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class PlayReadyLicenseIterable final : IIterable<IPlayReadyLicense>
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PlayReadyLicenseIterable : IEnumerable<IPlayReadyLicense>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlayReadyLicenseIterable : IEnumerable<IPlayReadyLicense>
function PlayReadyLicenseIterable(contentHeader, fullyEvaluated)
Public NotInheritable Class PlayReadyLicenseIterable
Implements IEnumerable(Of IPlayReadyLicense)
继承
Object Platform::Object IInspectable PlayReadyLicenseIterable
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

PlayReadyLicenseIterable 类不支持具有多个 KID 的内存中许可证或标头 (密钥标识符) 。

构造函数

PlayReadyLicenseIterable()

初始化 PlayReadyLicenseIterable 类的新实例。

PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean)

初始化 PlayReadyLicenseIterable 类的新实例。

方法

First()

返回循环访问 PlayReady 许可证集合中的项的迭代器。

适用于

另请参阅