Package org.robolectric.shadows
Interface ShadowSpeechRecognizer.ShadowSpeechRecognizerDirectAccessors
- Enclosing class:
- ShadowSpeechRecognizer
protected static interface ShadowSpeechRecognizer.ShadowSpeechRecognizerDirectAccessors
An interface to access direct functions/variables of an instance of 
SpeechRecognizer.
 Abstracted to allow subclasses to return customized accessors.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestroy()InvokesSpeechRecognizer.destroy()on a real instance ofSpeechRecognizer.Returns theHandlerof a realSpeechRecognizerthat it uses to process any pending async tasks returned bygetPendingTasks().Returns aQueueof pending async tasks of a realSpeechRecognizer.voidsetService(IRecognitionService service) Sets theIRecognitionServiceused by a realSpeechRecognizer.
- 
Method Details- 
destroyvoid destroy()InvokesSpeechRecognizer.destroy()on a real instance ofSpeechRecognizer.
- 
setServiceSets theIRecognitionServiceused by a realSpeechRecognizer.
- 
getPendingTasksReturns aQueueof pending async tasks of a realSpeechRecognizer.
- 
getHandlerHandler getHandler()Returns theHandlerof a realSpeechRecognizerthat it uses to process any pending async tasks returned bygetPendingTasks().
 
-