onVisibleAreaChanged

open fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)

Called when the car library updates the visible regions for the surface. For example, this is triggered when the action buttons come in and out of visibility. You can assume this will be called after onAttached.

Parameters

visibleArea

the visible area provided by the host

edgeInsets

distance from each side of the screen that creates the visibleArea