on
          open fun onVisibleAreaChanged(@NonNull visibleArea: Rect, @NonNull edgeInsets: EdgeInsets)
Content copied to clipboard
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.
See also
androidx.
SurfaceCallback#onVisibleAreaChanged(Rect)for more details.
Parameters
visible
the visible area provided by the host
edge
distance from each side of the screen that creates the visibleArea