public interface VoiceCompletionListener

Low-level callback a SoundPoolPeer fires when one of its voices finishes. com.codename1.gaming.SoundPool uses it to drive its public com.codename1.gaming.VoiceListener; application code does not call this directly.

Methods

public abstract void onVoiceComplete(int voiceId)Invoked (on any thread) when the voice with the given id has completed.

Method details

onVoiceComplete

public abstract void onVoiceComplete(int voiceId)
Invoked (on any thread) when the voice with the given id has completed.