MediaSource.State 属性

定义

获取 MediaSource 的当前状态。

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

属性值

MediaSource 的当前状态。

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

适用于