PlayReadyLicenseIterable PlayReadyLicenseIterable PlayReadyLicenseIterable PlayReadyLicenseIterable Class

Definition

Exposes the PlayReadyLicense class iterator.

public : sealed class PlayReadyLicenseIterable : IIterablepublic sealed class PlayReadyLicenseIterable : IEnumerablePublic NotInheritable Class PlayReadyLicenseIterable Implements IEnumerable// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The PlayReadyLicenseIterable class doesn't support in-memory licenses or headers with multiple KIDs (Key Identifiers).

Constructors

PlayReadyLicenseIterable() PlayReadyLicenseIterable() PlayReadyLicenseIterable() PlayReadyLicenseIterable()

Initializes a new instance of the PlayReadyLicenseIterable class.

public : PlayReadyLicenseIterable()public PlayReadyLicenseIterable()Public Sub New()// You can use this method in JavaScript.
See Also

PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean) PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean) PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean) PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean)

Initializes a new instance of the PlayReadyLicenseIterable class.

public : PlayReadyLicenseIterable(PlayReadyContentHeader contentHeader, bool fullyEvaluated)public PlayReadyLicenseIterable(PlayReadyContentHeader contentHeader, Boolean fullyEvaluated)Public Sub New(contentHeader As PlayReadyContentHeader, fullyEvaluated As Boolean)// You can use this method in JavaScript.
Parameters
contentHeader
PlayReadyContentHeader PlayReadyContentHeader PlayReadyContentHeader PlayReadyContentHeader

The content header used to locate associated licenses.

fullyEvaluated
bool Boolean Boolean Boolean

Indicates whether evaluated license chains should be enumerated or if all licenses (including those that are unusable) should be enumerated. This parameter is true if evaluated license chains should be enumerated, or false if all licenses should be enumerated.

Methods

First() First() First() First()

Returns an iterator that iterates over the items in the PlayReady license collection.

public : IIterator<IPlayReadyLicense> First()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
Returns

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

This member is not implemented in C++IEnumerator<T> GetEnumerator()Function GetEnumerator As IEnumerator(Of T)IEnumerator<T> GetEnumerator()
Returns

An enumerator that can be used to iterate through the collection.