1.Introduction
Description: With this extension you can listen to volume change events and get volume values of different stream types
Latest Version: 1
Released: March 4, 2021
Last Updated: March 4, 2021
2.Blocks
3.Documentation
- Volume Changed
Event triggered when volume changes
previousVolume ~ int
currentVolume ~ int
- Get Max Volume
Returns max volume value of given stream type
Accepts int
Returns : int
- Get Min Volume
Returns min volume value of given stream type
Accepts int
Returns : int
- Get Volume
Returns current volume value of given stream type
Accepts int
Returns : int
- Start Listening
Starts listening to volume changes
- Stop Listening
Stops listening to volume changes
- Stream Type
Sets audio stream type i.e. which stream volume changes should listener listen to
Accepts int
Default Value : 3
Stream Values
VOICE_CALL -> 0
SYSTEM -> 1
RING -> 2
NOTIFICATION -> 5
MUSIC -> 3
DTMF -> 8
ALARM -> 4
4.Download
Hope it helps!