MediaPlayer.CanSeek MediaPlayer.CanSeek MediaPlayer.CanSeek MediaPlayer.CanSeek MediaPlayer.CanSeek Property

Definition

Gets a Boolean value indicating if the media supports seeking to a specific position.

Note

MediaPlayer.CanSeek 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.CanSeek property.

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

Property Value

bool bool bool

True if the media supports seeking, otherwise false.