audible_mode 1.0.1 icon indicating copy to clipboard operation
audible_mode: ^1.0.1 copied to clipboard

This plugin lets you know when the Android or iOS device changes its audio profile and lets you know some more information about it.

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:

PAY ATTENTION #

  • In the ios simulator it doesn't work

HOW TO INSTALL #

dependencies:
  flutter:
    sdk: flutter
  audible_mode: ^1.0.1

HOW TO USE #

Get stream audible profile #

StreamBuilder<AudibleProfile?>(
  initialData: AudibleProfile.UNDEFINED,
  stream: Audible.audibleStream,
  ...

Get current audible profile #

Audible.getAudibleProfile

Get current volume #

Audible.getCurrentVolume

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)

SCREENSHOT #

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

NEXT FEATURE #

FeatureDscription
Detect sound mode
Stream of AudioProfile
Change volume intensity
Get actual volume intensity

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.

6
likes
140
pub points
51%
popularity

Publisher

unverified uploader

This plugin lets you know when the Android or iOS device changes its audio profile and lets you know some more information about it.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

enum_to_string, flutter

More

Packages that depend on audible_mode