GlobalSystemMediaTransportControlsSessionPlaybackControls Class

Definition

An object that describes what controls a session currently has enabled.

public ref class GlobalSystemMediaTransportControlsSessionPlaybackControls sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=1)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GlobalSystemMediaTransportControlsSessionPlaybackControls final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.DualApiPartition(version=1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GlobalSystemMediaTransportControlsSessionPlaybackControls
Public NotInheritable Class GlobalSystemMediaTransportControlsSessionPlaybackControls
Inheritance
GlobalSystemMediaTransportControlsSessionPlaybackControls
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)
App capabilities
globalMediaControl

Properties

IsChannelDownEnabled

Whether the session currently supports ChannelDown.

IsChannelUpEnabled

Whether the session currently supports ChannelUp.

IsFastForwardEnabled

Whether the session currently supports the fast forward command.

IsNextEnabled

Whether the session currently supports the next command.

IsPauseEnabled

Whether the session currently supports the pause command.

IsPlaybackPositionEnabled

Whether the session currently supports changing the playback position.

IsPlaybackRateEnabled

Whether the session currently supports changing the playback rate.

IsPlayEnabled

Whether the session currently supports the Play command.

IsPlayPauseToggleEnabled

Whether the session currently supports the play pause toggle command (where play or pause is picked depending on state).

IsPreviousEnabled

Whether the session currently supports the previous command.

IsRecordEnabled

Whether the session currently supports the record command.

IsRepeatEnabled

Whether the session currently supports control of its repeat mode.

IsRewindEnabled

Whether the session currently supports the rewind command.

IsShuffleEnabled

Gets a value indicating whether the session currently allows control of its shuffle state.

IsStopEnabled

Whether the session currently supports the stop command.

Applies to