MediaPlaybackCommandManagerPositionReceivedEventArgs MediaPlaybackCommandManagerPositionReceivedEventArgs MediaPlaybackCommandManagerPositionReceivedEventArgs MediaPlaybackCommandManagerPositionReceivedEventArgs MediaPlaybackCommandManagerPositionReceivedEventArgs Class

Definition

Provides data or the MediaPlaybackCommandManager.PositionReceived event, which occurs when the command manager receives a command changing the current position from the System Media Transport Controls.

public : sealed class MediaPlaybackCommandManagerPositionReceivedEventArgs
struct winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs
public sealed class MediaPlaybackCommandManagerPositionReceivedEventArgs
Public NotInheritable Class MediaPlaybackCommandManagerPositionReceivedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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

Properties

Handled Handled Handled Handled Handled

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

Position Position Position Position Position

Gets a value indicating the current playback position.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() 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 change position command.