setupForegroundService static method

Future<void> setupForegroundService()

Ensures foreground service is running to support receiving microphone input when application is in background.

Does nothing on non-Android operating systems.

Implementation

static Future<void> setupForegroundService() async {
  // No-op.
}