MediaPlaybackCommandManager.IsEnabled MediaPlaybackCommandManager.IsEnabled MediaPlaybackCommandManager.IsEnabled MediaPlaybackCommandManager.IsEnabled MediaPlaybackCommandManager.IsEnabled Property

Definition

Gets or sets a value indicating whether the MediaPlaybackCommandManager is enabled.

public : Platform::Boolean IsEnabled { get; set; }
bool IsEnabled();

void IsEnabled(bool isenabled);
public bool IsEnabled { get; set; }
Public ReadWrite Property IsEnabled As bool
var bool = mediaPlaybackCommandManager.isEnabled;
mediaPlaybackCommandManager.isEnabled = bool;

Property Value

bool bool bool

True if the MediaPlaybackCommandManager is enabled; otherwise, false.

Remarks

If your app scenario requires manual control of the System Media Transport Controls you can disable the MediaPlaybackCommandManager and using the events and properties of the SystemMediaTransportControls directly.

Note

If you disable the MediaPlaybackCommandManager by setting IsEnabled to false, it will break the link between the MediaPlayer the TransportControls provided by the MediaPlayerElement, so the built-in transport controls will no longer automatically control the playback of the player. Instead, you must implement your own controls to control the MediaPlayer.