MediaPlaybackCommandManagerPlayReceivedEventArgs 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供資料或 MediaPlaybackCommandManager.PlayReceived 事件,當命令管理員從系統媒體傳輸控制項的 [ 播放 ] 按鈕收到命令時,就會發生此事件。
public ref class MediaPlaybackCommandManagerPlayReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MediaPlaybackCommandManagerPlayReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MediaPlaybackCommandManagerPlayReceivedEventArgs
Public NotInheritable Class MediaPlaybackCommandManagerPlayReceivedEventArgs
- 繼承
- 屬性
裝置系列 |
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
|
處理 MediaPlaybackCommandManager.PlayReceived 事件,以取得這個類別的實例。
Handled |
取得或設定值,指出是否已處理 PlayReceived 事件。 |
Get |
取得 Deferral 物件,讓系統等候您執行非同步作業,例如從網路來源建立新的 MediaPlaybackItem ,然後再繼續處理 Play 命令。 |