Code example for SoundPool

Methods: resume

0
             
            handler.postDelayed(new Runnable() {
                 
                @Override 
                public void run() { 
                    soundPool.resume(currentStream);
                } 
            }, 1000); 
             
        } 
        else if (taskName.equals("Interrupt & Kill")){
            soundPool.stop(currentStream);
            currentStream = soundPool.play(sounds[burp], 1, 1, 0, 0, 1);
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE