Window.TakeSurface(ISurfaceHolderCallback2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- callback
- ISurfaceHolderCallback2
- 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.