adjustSuggestedStreamVolume method
Future<void>
adjustSuggestedStreamVolume(
- AndroidAudioAdjustment direction,
- AndroidStreamType? suggestedStreamType,
- AndroidAudioVolumeFlags flags
(UNTESTED)
Implementation
Future<void> adjustSuggestedStreamVolume(
AndroidAudioAdjustment direction,
AndroidStreamType? suggestedStreamType,
AndroidAudioVolumeFlags flags) async {
const useDefaultStreamType = 0x80000000;
await _channel.invokeMethod('adjustSuggestedStreamVolume', [
direction.index,
suggestedStreamType?.index ?? useDefaultStreamType,
flags.value
]);
}