BackgroundMediaPlayer.Current BackgroundMediaPlayer.Current BackgroundMediaPlayer.Current BackgroundMediaPlayer.Current BackgroundMediaPlayer.Current Property

Definition

Gets the current instance of the background media player.

Note

Starting with Windows, version 1703, BackgroundMediaPlayer is deprecated and may not be available in future versions of Windows. Use the MediaPlayer class instead. For more information, see Play media in the background.

public : static MediaPlayer Current { get; }
static MediaPlayer Current();
public static MediaPlayer Current { get; }
Public Shared ReadOnly Property Current As MediaPlayer
var mediaPlayer = Windows.Media.Playback.BackgroundMediaPlayer.current;

Property Value

The current instance of the background media player.