Interface VoiceCompletionListener


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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onVoiceComplete(int voiceId)
    Invoked (on any thread) when the voice with the given id has completed.
  • Method Details

    • onVoiceComplete

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