Condition - Action Sound Playing
The condition Action Sound Playing checks if an action Sound is currently playing a sound.
Examples:
- Refresh a stop-button in a widget depending whether a sound is currently playing or not.
A variable is a container for a value that can be used in many actions and conditions to dynamically define a part of a text.
See action Script for a description.
See action Script for a description.
Supplied Variables
sound_position
the playback position of the sound in milliseconds (first sound if multiple playing), null when no sound is playing
sound_duration
the total duration of the sound in milliseconds (first sound if multiple playing), null when the media framework of Android can not determine the duration (live stream etc.)