MediaPlayer.SetDisplay(ISurfaceHolder) MediaPlayer.SetDisplay(ISurfaceHolder) Method

Definition

Sets the ISurfaceHolder to use for displaying the video portion of the media.

[Android.Runtime.Register("setDisplay", "(Landroid/view/SurfaceHolder;)V", "GetSetDisplay_Landroid_view_SurfaceHolder_Handler")]
public virtual void SetDisplay (Android.Views.ISurfaceHolder sh);
abstract member SetDisplay : Android.Views.ISurfaceHolder -> unit
override this.SetDisplay : Android.Views.ISurfaceHolder -> unit

Parameters

sh
ISurfaceHolder ISurfaceHolder

the SurfaceHolder to use for video display

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.

Applies to