activateState method

Future<bool> activateState(
  1. String identifier
)

Returns whether the host reports this identifier as active after the call. CarPlay can ignore rapid changes due to its state activation rate limit.

Implementation

Future<bool> activateState(String identifier) =>
    FlutterCarplay.activateVoiceControlState(
      elementId: uniqueId,
      identifier: identifier,
    );