Udostępnij za pośrednictwem


MediaEncodingProfile.SetTimedMetadataTracks Method

Definition

Sets the list of TimedMetadataStreamDescriptor objects describing the timed metadata streams included in the MediaEncodingProfile.

public:
 virtual void SetTimedMetadataTracks(IIterable<TimedMetadataStreamDescriptor ^> ^ value) = SetTimedMetadataTracks;
void SetTimedMetadataTracks(IIterable<TimedMetadataStreamDescriptor> const& value);
public void SetTimedMetadataTracks(IEnumerable<TimedMetadataStreamDescriptor> value);
function setTimedMetadataTracks(value)
Public Sub SetTimedMetadataTracks (value As IEnumerable(Of TimedMetadataStreamDescriptor))

Parameters

value

IIterable<TimedMetadataStreamDescriptor>

IEnumerable<TimedMetadataStreamDescriptor>

A collection of TimedMetadataStreamDescriptor objects.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

The Label field for each VideoStreamDescriptor in the collection must be unique. If you attempt to add more than one stream descriptor with the same label, an invalid argument error will occur.

Applies to