MediaPlayer.CanPause MediaPlayer.CanPause MediaPlayer.CanPause MediaPlayer.CanPause MediaPlayer.CanPause Property

Definition

Gets a Boolean value indicating if the media can be paused.

Note

MediaPlayer.CanPause may be altered or unavailable after Windows 10, version 1607. Instead, use the MediaPlayer.PlaybackSession property to get a MediaPlaybackSession object and then use the MediaPlaybackSession.CanPause property.

public : Platform::Boolean CanPause { get; }
bool CanPause();
public bool CanPause { get; }
Public ReadOnly Property CanPause As bool
var bool = mediaPlayer.canPause;

Property Value

bool bool bool

True if the media can be paused, otherwise false.