setAudioRoute method

  1. @override
Future<void> setAudioRoute({
  1. required AudioRoute audioRoute,
})
override

Set audio route

Implementation

@override
Future<void> setAudioRoute({required AudioRoute audioRoute}) async {
  return callClientMethodChannel
      .invokeMethod('setAudioRoute', {"audioRoute": audioRoute.name.toUpperCase()});
}