MediaPlayer.AutoPlay MediaPlayer.AutoPlay MediaPlayer.AutoPlay MediaPlayer.AutoPlay MediaPlayer.AutoPlay Property

Definition

Gets or sets a Boolean value indicating if playback automatically starts after the media is loaded.

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

void AutoPlay(bool autoplay);
public bool AutoPlay { get; set; }
Public ReadWrite Property AutoPlay As bool
var bool = mediaPlayer.autoPlay;
mediaPlayer.autoPlay = bool;

Property Value

bool bool bool

True is playback start automatically, otherwise false.