Package com.iplateia.sorisdk
Object ServiceState
-
- All Implemented Interfaces:
public class ServiceStateConstants for the service states.
STARTED means recognition runs with an open microphone. PAUSED means the foreground service and its notification are alive but the microphone is released (SORIAudioRecognizer.pauseRecognition); a resume reports STARTED again. A listener that treats every state other than STARTED as "not listening" stays correct; one that needs to offer a resume should check for PAUSED explicitly.