Pauses an ongoing audio playback instance with the given playback ID.
Once the playback instance has been paused, the first output is triggered. If the playback instance is already paused, the playback remains paused.
If there is an error, the second output is triggered.
Audio playback ID
ID of the audio playback to pause.
Number of outputs: 2
Object representing the playback instance after it was paused
Unique ID for this audio playback
Duration of the audio file, in seconds.
Current time of the ongoing playback, in seconds.
Status of the current playback.
True/false value describing if the audio file is set to loop.
If looping, the number of remaining loops until the playback stops.
Absolute local filesystem path or external URL to the audio file being played
ISO 8601 timestamp for when the playback was started. Can be used to calculate e.g. elapsed time.
Playback instance not found
Thrown if no audio playback instance with the given ID could be found.
Thrown if an unknown error occurred while pausing the audio file.