IsPlaying

The following example attempts to play track 1 of a CD. If the CD is not playing (for example if there is no audio CD present) then the ErrorText object is shown.

var CD = CreateCDPlayer();
CD.Play(1);
if ( !CD.IsPlaying() )
{
 ErrorText.Show();
}

Close