Dela via


MseStreamSource.LiveSeekableRange Property

Definition

Gets or sets the seekable time range for a Media Source Extension.

public:
 property IReference<MseTimeRange> ^ LiveSeekableRange { IReference<MseTimeRange> ^ get(); void set(IReference<MseTimeRange> ^ value); };
IReference<MseTimeRange> LiveSeekableRange();

void LiveSeekableRange(IReference<MseTimeRange> value);
public System.Nullable<MseTimeRange> LiveSeekableRange { get; set; }
var iReference = mseStreamSource.liveSeekableRange;
mseStreamSource.liveSeekableRange = iReference;
Public Property LiveSeekableRange As Nullable(Of MseTimeRange)

Property Value

The time range within which the user can seek during media playback.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Set this value to null to disable seeking during media playback. This enables scenarios like disabling seeking during ads.

Applies to