Share via


BackgroundMediaPlayer.Current Proprietà

Definizione

Ottiene l'istanza corrente del lettore multimediale in background.

Nota

A partire da Windows, versione 1703, BackgroundMediaPlayer è deprecato e potrebbe non essere disponibile nelle versioni future di Windows. Usa invece la classe MediaPlayer . Per altre informazioni, vedere Riprodurre elementi multimediali in background.

public:
 static property MediaPlayer ^ Current { MediaPlayer ^ get(); };
static MediaPlayer Current();
/// [get: Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of BackgroundMediaPlayer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static MediaPlayer Current();
public static MediaPlayer Current { get; }
public static MediaPlayer Current { [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of BackgroundMediaPlayer.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var mediaPlayer = BackgroundMediaPlayer.current;
Public Shared ReadOnly Property Current As MediaPlayer

Valore della proprietà

Istanza corrente del lettore multimediale in background.

Attributi

Si applica a