共用方式為


MediaPlaybackCommandManagerRateReceivedEventArgs 類別

定義

提供資料或 MediaPlaybackCommandManager.RateReceived 事件,當命令管理員收到從系統媒體傳輸控制項變更目前播放速率的命令時,就會發生此事件。

public ref class MediaPlaybackCommandManagerRateReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MediaPlaybackCommandManagerRateReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MediaPlaybackCommandManagerRateReceivedEventArgs
Public NotInheritable Class MediaPlaybackCommandManagerRateReceivedEventArgs
繼承
Object Platform::Object IInspectable MediaPlaybackCommandManagerRateReceivedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

處理 MediaPlaybackCommandManager.RateReceived 事件,以取得這個類別的實例。

屬性

Handled

取得或設定值,指出 RateReceived 事件是否已處理。

PlaybackRate

取得值,指出目前的播放速率。

方法

GetDeferral()

取得 Deferral 物件,讓系統等候您執行非同步作業,例如從網路來源建立新的 MediaPlaybackItem ,然後再繼續處理變更速率命令。

適用於