Partager via


Window.TakeSurface(ISurfaceHolderCallback2) Method

Definition

Take ownership of this window's surface.

[Android.Runtime.Register("takeSurface", "(Landroid/view/SurfaceHolder$Callback2;)V", "GetTakeSurface_Landroid_view_SurfaceHolder_Callback2_Handler")]
public abstract void TakeSurface (Android.Views.ISurfaceHolderCallback2? callback);
[<Android.Runtime.Register("takeSurface", "(Landroid/view/SurfaceHolder$Callback2;)V", "GetTakeSurface_Landroid_view_SurfaceHolder_Callback2_Handler")>]
abstract member TakeSurface : Android.Views.ISurfaceHolderCallback2 -> unit

Parameters

Attributes

Remarks

Java documentation for android.view.Window.takeSurface(android.view.Callback2).

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