yosemiteyss / flutter_volume_controller

A Flutter plugin to control system volume and listen for volume changes on different platforms.
https://pub.dev/packages/flutter_volume_controller
MIT License
13 stars 7 forks source link

is it possible to read the "Dialing Keypad" setting #21 #71

Closed marcodecarolisidt closed 6 months ago

marcodecarolisidt commented 6 months ago

Describe the bug

Can we read this volume's setting for android?

image
yosemiteyss commented 6 months ago

To get system volume, use FlutterVolumeController.getVolume(stream: AudioStream.system).

marcodecarolisidt commented 6 months ago

But is it possible to know if "Dialing Keypad" is on or off?

yosemiteyss commented 6 months ago

Seems impossible. Adjust dial pad tones settings requires android.permission.WRITE_SETTINGS, which can only be granted by system app.