共用方式為


MediaController.SetMediaPlayer(MediaController+IMediaPlayerControl) 方法

定義

[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

參數

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於