CVCommandHandler Class Reference
class CVCommandHandler : public CBase |
Provider of the voice command services
Constructor & Destructor Documentation
~CVCommandHandler()
IMPORT_C | ~CVCommandHandler | ( | ) | [virtual] |
Member Functions Documentation
AddCommandL(const CVCommand &)
IMPORT_C void | AddCommandL | ( | const CVCommand & | aCommand | ) | [virtual] |
AddCommandsL(const RVCommandArray &, TBool)
IMPORT_C void | AddCommandsL | ( | const RVCommandArray & | aCommands, |
| TBool | aIgnoreErrors = EFalse |
| ) | [virtual] |
Parameters
const RVCommandArray & aCommands | Commands to add |
TBool aIgnoreErrors = EFalse | If ETrue, even if some commands fail to be trained, handler adds all that are trainable |
CancelPlaybackL(const CStoredVCommand &)
ConstructL(MVCommandHandlerObserver *)
NewL(MVCommandHandlerObserver *)
Parameters
MVCommandHandlerObserver * aObserver = NULL | Listener to be notified whenever the VCommand set is changed by *another* instance of CVCommandHandler. I.e. lets the client know if his understanding of the VCommand set is up to date |
PlayAlternativeSpokenTextL(const CStoredVCommand &, MNssPlayEventHandler &)
PlaySpokenTextL(const CStoredVCommand &, MNssPlayEventHandler &)
RemoveCommandL(const CVCommand &)
IMPORT_C void | RemoveCommandL | ( | const CVCommand & | aCommand | ) | [virtual] |
Synchronous. Removes the command from the system
- leave
- KErrNotFound No such command
Parameters
const CVCommand & aCommand | Reference to the command to be removed. Existing commands are compared against aCommand. All the matches are removed from VAS |
RemoveCommandsL(const RVCommandArray &, TBool)
IMPORT_C void | RemoveCommandsL | ( | const RVCommandArray & | aCommands, |
| TBool | aIgnoreErrors = EFalse |
| ) | [virtual] |
Parameters
const RVCommandArray & aCommands | Reference to the list of commands to be removed. Existing commands are compared against aCommands items. All the matches are removed from VAS |
TBool aIgnoreErrors = EFalse | If ETrue, even if some commands fail to be removed, handler will remove as many as possible |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.