Dela via


MediaPlayerSurface.MediaPlayer Property

Definition

Gets the MediaPlayer associated with the MediaPlayerSurface.

public:
 property MediaPlayer ^ MediaPlayer { MediaPlayer ^ get(); };
MediaPlayer MediaPlayer();
public MediaPlayer MediaPlayer { get; }
var mediaPlayer = mediaPlayerSurface.mediaPlayer;
Public ReadOnly Property MediaPlayer As MediaPlayer

Property Value

The MediaPlayer associated with the MediaPlayerSurface.

Remarks

The returned MediaPlayer instance is the one on which GetSurface was called to generate the MediaPlayerSurface.

Applies to