audible_mode

Last updated:

0 purchases

audible_mode Image
audible_mode Images
Add to Cart

Description:

audible mode

DESCRIPTION #
This plugin lets you know when the Android or iOS device changes its audio profile and lets you know some more information about it.
This plugin use this dependecy:

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: ^2.0.0
copied to clipboard
HOW TO USE #
Get stream audible profile #
StreamBuilder<AudibleProfile?>(
initialData: AudibleProfile.UNDEFINED,
stream: Audible.audibleStream,
...
copied to clipboard
Get stream of volume level #
StreamBuilder<double>(
initialData: 0.0,
stream: Audible.currentVolumeStream,
...
copied to clipboard
Get current audible profile #
Audible.getAudibleProfile
copied to clipboard
Get current volume #
Audible.getCurrentVolume
copied to clipboard
Set volume #
/// In Android you can put a value from 0.0 to max volume returned from plugin (use Audible.getMaxVolume)
/// In iOS you can put a value from 0.0 to 1.0
Audible.setVolume(0.2)
copied to clipboard
SCREENSHOT #



iOS (Iphone 12 Pro - 15.2)
Android (Oneplus 5T - Pixel Experience 11)









NEXT FEATURE #



Feature
Description





Detect sound mode



Stream of AudioProfile



Change volume intensity



Get actual volume intensity



Get volume level when change



Write me in the GitHub issues the new features you need and, if they are approved of course, I will implement them as soon as I can.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.