onStableAreaChanged

open fun onStableAreaChanged(@NonNull stableArea: Rect, @NonNull edgeInsets: EdgeInsets)

Called when the car library updates the stable region for the surface. This area will remain constant while the visible area changes when views come in and out of view.

See also

for more details.

Parameters

stableArea

the stable area provided by the host

edgeInsets

distance from each side of the screen that creates the stableArea