Udostępnij za pośrednictwem


ISurfaceHolder.AddCallback(ISurfaceHolderCallback) Method

Definition

Add a Callback interface for this holder.

[Android.Runtime.Register("addCallback", "(Landroid/view/SurfaceHolder$Callback;)V", "GetAddCallback_Landroid_view_SurfaceHolder_Callback_Handler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddCallback (Android.Views.ISurfaceHolderCallback? callback);
[<Android.Runtime.Register("addCallback", "(Landroid/view/SurfaceHolder$Callback;)V", "GetAddCallback_Landroid_view_SurfaceHolder_Callback_Handler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddCallback : Android.Views.ISurfaceHolderCallback -> unit

Parameters

callback
ISurfaceHolderCallback

The new Callback interface.

Attributes

Remarks

Java documentation for android.view.SurfaceHolder.addCallback(android.view.Callback).

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