new gradle-based structure. git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
25 lines
620 B
Java
25 lines
620 B
Java
package com.jme3.audio.android;
|
|
|
|
import com.jme3.audio.AudioRenderer;
|
|
|
|
/**
|
|
* Android specific AudioRenderer interface that supports pausing and resuming
|
|
* audio files when the app is minimized or placed in the background
|
|
*
|
|
* @author iwgeric
|
|
*/
|
|
public interface AndroidAudioRenderer extends AudioRenderer {
|
|
|
|
/**
|
|
* Pauses all Playing audio. To be used when the app is placed in the
|
|
* background.
|
|
*/
|
|
public void pauseAll();
|
|
|
|
/**
|
|
* Resumes all Paused audio. To be used when the app is brought back to
|
|
* the foreground.
|
|
*/
|
|
public void resumeAll();
|
|
}
|