refreshCarContent method

  1. @override
void refreshCarContent()
override

Triggers a re-fetch of the car browse tree on the connected head unit.

The car transport is otherwise pull-based (native asks, Dart answers); this is the single outbound signal. Call it after any change to the browsable library so a live CarPlay / Android Auto session repaints. It is a no-op when no car surface is connected.

Implementation

@override
void refreshCarContent() {
  unawaited(methodChannel.invokeMethod<void>('refreshCarContent'));
}