setAndroidAudioAttributes method
Future<SetAndroidAudioAttributesResponse>
setAndroidAudioAttributes(
- SetAndroidAudioAttributesRequest request
override
On Android, sets the audio attributes, and does nothing on other platforms.
Implementation
@override
Future<SetAndroidAudioAttributesResponse> setAndroidAudioAttributes(
SetAndroidAudioAttributesRequest request) async {
return SetAndroidAudioAttributesResponse.fromMap(
(await _channel.invokeMethod<Map<dynamic, dynamic>>(
'setAndroidAudioAttributes', request.toMap()))!);
}