setAudioRoute method

Future<int> setAudioRoute({
  1. required String kind,
})

Routes the current call's audio to a specific output (Android, Telecom-owned).

  • kind: builtInReceiver | builtInSpeaker | bluetooth | headphones

Returns 0 on success, negative error code on failure.

Implementation

Future<int> setAudioRoute({required String kind}) async {
  throw UnimplementedError('setAudioRoute has not been implemented.');
}