GlobalSystemMediaTransportControlsSessionPlaybackControls.IsPlayEnabled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會話目前是否支援 Play 命令。
public:
property bool IsPlayEnabled { bool get(); };
bool IsPlayEnabled();
public bool IsPlayEnabled { get; }
var boolean = globalSystemMediaTransportControlsSessionPlaybackControls.isPlayEnabled;
Public ReadOnly Property IsPlayEnabled As Boolean
屬性值
Boolean
bool
如果支援播放,則為 True;否則為 false。