Partage via


PlayReadyLicenseIterable Classe

Définition

Expose l’itérateur de classe 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)
Héritage
Object Platform::Object IInspectable PlayReadyLicenseIterable
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Remarques

La classe PlayReadyLicenseIterable ne prend pas en charge les licences en mémoire ou les en-têtes avec plusieurs KID (Key Identifiers).

Constructeurs

PlayReadyLicenseIterable()

Initialise une nouvelle instance de la classe PlayReadyLicenseIterable.

PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean)

Initialise une nouvelle instance de la classe PlayReadyLicenseIterable.

Méthodes

First()

Retourne un itérateur qui itère sur les éléments de la collection de licences PlayReady.

S’applique à

Voir aussi