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.

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 #

iOSAndroid
Iphone 12 Pro(iOS 14.7.1)
Oneplus-5T(Android 10)

NEXT FEATURE #

  • [x] Detect sound mode
  • [ ] Stream of sound mode
  • [ ] Change volume intensity
  • [ ] Get actual volume intensity