Udostępnij za pośrednictwem


ChapterCue Class

Definition

Represents a chapter cue that can be included in a TimedMetadataTrack.

public ref class ChapterCue sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChapterCue final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChapterCue
function ChapterCue()
Public NotInheritable Class ChapterCue
Inheritance
Object Platform::Object IInspectable ChapterCue
Attributes
Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

A ChapterCue can be added to a TimedMetadataTrack with the AddCue method. When the cue's start time is reached, the CueEntered event is raised and you can use the MediaCueEventArgs passed into the handler to get a copy of the ChapterCue.

Constructors

ChapterCue()

Initializes a new instance of the ChapterCue class.

Properties

Duration

Gets or sets a value that specifies the duration of the chapter associated with the cue.

Id

Gets the identifier for the timed metadata track.

StartTime

Gets the start time of the cue.

Title

Gets the title of the chapter associated with the cue.

Applies to