DetectionCallback typedef
A callback signature for when a keyword phrase
is detected.
This is typically used to trigger UI updates or other application logic.
Implementation
typedef DetectionCallback = void Function(Map<String, dynamic> event);
A callback signature for when a keyword phrase
is detected.
This is typically used to trigger UI updates or other application logic.
typedef DetectionCallback = void Function(Map<String, dynamic> event);