registerOnProgressStateChange

abstract fun registerOnProgressStateChange(audioHash: Int, onProgressDataChange: (ProgressData) -> Unit)

Subscribing for progress changes for the audio of the hash. The progress is updated every 50ms

Parameters

audioHash

the identifier of the audio track

onProgressDataChange

The listener of the ProgressData change.