public class VoiceCommandManager extends BaseSubManager
Note: This class must be accessed through the ScreenManager via the SdlManager. Do not instantiate it by itself.
The VoiceCommandManager takes a List of VoiceCommand objects and sets them on the Head unit for you.
ERROR, internalInterface, LIMITED, READY, SETTING_UP, SHUTDOWN| Constructor and Description |
|---|
VoiceCommandManager(ISdl internalInterface) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called when manager is being torn down
|
List<VoiceCommand> |
getVoiceCommands() |
void |
setVoiceCommands(List<VoiceCommand> voiceCommands) |
void |
start(CompletionListener listener)
Starts up a BaseSubManager, and calls provided callback once BaseSubManager is done setting up or failed setup.
|
getState, handleTransportUpdated, onTransportUpdate, transitionToStatepublic VoiceCommandManager(ISdl internalInterface)
public void start(CompletionListener listener)
BaseSubManagerstart in class BaseSubManagerlistener - CompletionListener that is called once the BaseSubManager's state is READY, LIMITED, or ERRORpublic void dispose()
BaseSubManagerCalled when manager is being torn down
dispose in class BaseSubManagerpublic void setVoiceCommands(List<VoiceCommand> voiceCommands)
public List<VoiceCommand> getVoiceCommands()