Lingua

MediaController.SetMediaPlayer(MediaController+IMediaPlayerControl) Method

Definition

Sets the media player.

[Android.Runtime.Register("setMediaPlayer", "(Landroid/widget/MediaController$MediaPlayerControl;)V", "GetSetMediaPlayer_Landroid_widget_MediaController_MediaPlayerControl_Handler")]
public virtual void SetMediaPlayer(Android.Widget.MediaController.IMediaPlayerControl? player);
[<Android.Runtime.Register("setMediaPlayer", "(Landroid/widget/MediaController$MediaPlayerControl;)V", "GetSetMediaPlayer_Landroid_widget_MediaController_MediaPlayerControl_Handler")>]
abstract member SetMediaPlayer : Android.Widget.MediaController.IMediaPlayerControl -> unit
override this.SetMediaPlayer : Android.Widget.MediaController.IMediaPlayerControl -> unit

Parameters

player
MediaController.IMediaPlayerControl

MediaController.MediaPlayerControl

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Java documentation for MediaController.

Applies to