Delen via


MediaSource.State Property

Definition

Gets the current state of the MediaSource.

public:
 property MediaSourceState State { MediaSourceState get(); };
MediaSourceState State();
public MediaSourceState State { get; }
var mediaSourceState = mediaSource.state;
Public ReadOnly Property State As MediaSourceState

Property Value

The current state of the MediaSource.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to