public interface CompletionAwareSoundPoolPeer
ExtendsSoundPoolPeer
An optional capability a
SoundPoolPeer may implement to report when its voices
finish playing. com.codename1.gaming.SoundPool checks for it with
instanceof and wires its com.codename1.gaming.VoiceListener through it;
peers that do not implement it simply never report completion.Methods
public abstract void setVoiceCompletionListener(VoiceCompletionListener listener) | Sets the listener notified as each voice completes (null to clear). |
Inherited methods
Method details
setVoiceCompletionListener
public abstract void setVoiceCompletionListener(VoiceCompletionListener listener)Sets the listener notified as each voice completes (null to clear).