Share via


MediaPlaybackSession.CanPause Property

Definition

Gets a value that indicates whether media can be paused if the MediaPlayer.Pause method is called.

public:
 property bool CanPause { bool get(); };
bool CanPause();
public bool CanPause { get; }
var boolean = mediaPlaybackSession.canPause;
Public ReadOnly Property CanPause As Boolean

Property Value

Boolean

bool

True if the media can be paused; otherwise, false.

Applies to