public interface IRecognitionService
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IRecognitionService.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addConfiguration(ParcelableConfiguration configuration)
Installs a configuration into the system.
|
ParcelableConfiguration |
getConfiguration()
Returns the configuration that is currently running in the system.
|
java.util.List<java.lang.String> |
getConfigurations()
Returns the names of configurations that are currently running.
|
boolean |
hasConfiguration(java.lang.String name)
Tests whether a particular configuration is actually running.
|
boolean |
isStarted()
Determines whether the system service has been started already.
|
boolean |
removeConfiguration(java.lang.String name)
Removes a previously registered configuration from the system.
|
boolean isStarted() throws android.os.RemoteException
android.os.RemoteException
java.lang.String addConfiguration(ParcelableConfiguration configuration) throws android.os.RemoteException
configuration
- The configuration to install.android.os.RemoteException
boolean removeConfiguration(java.lang.String name) throws android.os.RemoteException
name
- The name of the configuration as returned by the add method.android.os.RemoteException
boolean hasConfiguration(java.lang.String name) throws android.os.RemoteException
name
- The name of the configuration as returned by the add method.android.os.RemoteException
java.util.List<java.lang.String> getConfigurations() throws android.os.RemoteException
android.os.RemoteException
ParcelableConfiguration getConfiguration() throws android.os.RemoteException
android.os.RemoteException