Udostępnij za pośrednictwem


InlineContentView.SetSurfaceControlCallback Method

Definition

Sets a callback to observe the lifecycle of the surface control for managing the backing surface.

[Android.Runtime.Register("setSurfaceControlCallback", "(Landroid/widget/inline/InlineContentView$SurfaceControlCallback;)V", "GetSetSurfaceControlCallback_Landroid_widget_inline_InlineContentView_SurfaceControlCallback_Handler", ApiSince=30)]
public virtual void SetSurfaceControlCallback (Android.Widget.Inline.InlineContentView.ISurfaceControlCallback? callback);
[<Android.Runtime.Register("setSurfaceControlCallback", "(Landroid/widget/inline/InlineContentView$SurfaceControlCallback;)V", "GetSetSurfaceControlCallback_Landroid_widget_inline_InlineContentView_SurfaceControlCallback_Handler", ApiSince=30)>]
abstract member SetSurfaceControlCallback : Android.Widget.Inline.InlineContentView.ISurfaceControlCallback -> unit
override this.SetSurfaceControlCallback : Android.Widget.Inline.InlineContentView.ISurfaceControlCallback -> unit

Parameters

callback
InlineContentView.ISurfaceControlCallback

The callback to set or null to clear.

Attributes

Remarks

Java documentation for android.widget.inline.InlineContentView.setSurfaceControlCallback(android.widget.inline.SurfaceControlCallback).

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