MediaPlaybackCommandManagerPlayReceivedEventArgs Class

Definition

Provides data or the MediaPlaybackCommandManager.PlayReceived event, which occurs when the command manager receives a command from the Play button of the System Media Transport Controls.

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(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
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
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
public sealed class MediaPlaybackCommandManagerPlayReceivedEventArgs
Public NotInheritable Class MediaPlaybackCommandManagerPlayReceivedEventArgs
Inheritance
MediaPlaybackCommandManagerPlayReceivedEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Get an instance of this class by handling the MediaPlaybackCommandManager.PlayReceived event.

Properties

Handled

Gets or sets a value indicating whether the PlayReceived event has been handled.

Methods

GetDeferral()

Gets a Deferral object that causes the system to wait for you to perform asynchronous operations, such as creating a new MediaPlaybackItem from a network source, before it continues processing the Play command.

Applies to