Added in API level 30

InlineContentView.SurfaceControlCallback


public static interface InlineContentView.SurfaceControlCallback

android.widget.inline.InlineContentView.SurfaceControlCallback


Callback for observing the lifecycle of the surface control that manipulates the backing secure embedded UI surface.

Summary

Public methods

abstract void onCreated(SurfaceControl surfaceControl)

Called when the backing surface is being created.

abstract void onDestroyed(SurfaceControl surfaceControl)

Called when the backing surface is being destroyed.

Public methods

onCreated

Added in API level 30
public abstract void onCreated (SurfaceControl surfaceControl)

Called when the backing surface is being created.

Parameters
surfaceControl SurfaceControl: The surface control to manipulate the surface. This value cannot be null.

onDestroyed

Added in API level 30
public abstract void onDestroyed (SurfaceControl surfaceControl)

Called when the backing surface is being destroyed.

Parameters
surfaceControl SurfaceControl: The surface control to manipulate the surface. This value cannot be null.