Dela via


SpeechSynthesisStream.Markers Property

Definition

Gets the collection of timeline markers associated with the SpeechSynthesisStream.

Note

SpeechSynthesisStream.Markers is deprecated. We recommend using the MediaPlayerElement and MediaPlaybackItem objects instead (in conjunction with the IncludeSentenceBoundaryMetadata and IncludeWordBoundaryMetadata properties of a SpeechSynthesizerOptions object).

public:
 property IVectorView<IMediaMarker ^> ^ Markers { IVectorView<IMediaMarker ^> ^ get(); };
IVectorView<IMediaMarker> Markers();
public IReadOnlyList<IMediaMarker> Markers { get; }
var iVectorView = speechSynthesisStream.markers;
Public ReadOnly Property Markers As IReadOnlyList(Of IMediaMarker)

Property Value

When this method completes successfully, it returns a collection of IMediaMarker objects that represent the timeline markers in the stream.

Applies to

See also