Skip to main content

androidSetCurrentTimeOfAudioPlayingInBackground

Type

handler

Summary

Sets the current time of the playing audio in milliseconds. This command has no effect if there is no audio playing in the background.

Syntax

androidSetCurrentTimeOfAudioPlayingInBackground(<pMilliseconds>)

Description

Use the androidSetCurrentTimeOfAudioPlayingInBackground command to set the current time of the playing audio in milliseconds.

Parameters

NameTypeDescription

pMilliseconds

The desired current time in milliseconds

Examples

if androidIsAudioPlayingInBackground() then
androidSetCurrentTimeOfAudioPlayingInBackground 25000 // milliseconds
end if

Compatibility and Support

OS

android