MediaPlaybackCommandManagerShuffleReceivedEventArgs 类

定义

提供数据或 ShuffleReceived 事件,在命令管理器从系统媒体传输控件的 Shuffle 控件接收命令时发生。

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

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

注解

通过处理 MediaPlaybackCommandManager.RewindReceived 事件获取此类的实例。

属性

Handled

获取或设置一个值,该值指示 ShuffleReceived 事件是否已处理。

IsShuffleRequested

获取一个值,该值指示是否请求随机模式。

方法

GetDeferral()

获取一个 Deferral 对象,该对象使系统在继续处理 Shuffle 命令之前等待你执行异步操作,例如从网络源创建新的 MediaPlaybackItem

适用于