requestAudioFocus method

Future<void> requestAudioFocus ()

Only works on Android request audio focus for media usage

Implementation

static Future<void> requestAudioFocus() {
  if (Platform.isAndroid) {
    return _channel.invokeMethod("requestAudioFocus");
  }
  return Future.value();
}