audible_mode 1.0.0 audible_mode: ^1.0.0 copied to clipboard
A new Flutter project.
AUDIBLE MODE #
DESCRIPTION #
This plugin permitted to check a sound mode of device.
- Native android: AudioManager
- Native ios: Mute pod plugin
PAY ATTENTION #
- In the ios simulator it doesn't work
HOW TO INSTALL #
dependencies:
flutter:
sdk: flutter
audible_mode: ^1.0.0
HOW TO USE #
AudibleProfile audibleProfile = await Audible.getDeviceMode;
// AudibleProfile:
// SILENT_MODE -> iOS/Android,
// VIBRATE_MODE -> Android,
// NORMAL_MODE -> iOS/Android,
// UNDEFINED,
SCREENSHOT #
iOS | Android |
---|---|
Iphone 12 Pro(iOS 14.7.1) |
Oneplus-5T(Android 10) |
NEXT FEATURE #
- Detect sound mode
- Stream of sound mode
- Change volume intensity
- Get actual volume intensity