Поделиться через


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.

Применяется к

См. также раздел