Home › Forums › OpenEars › [Resolved] sharedInstance SetActive: usage question › Reply To: [Resolved] sharedInstance SetActive: usage question
December 29, 2014 at 3:13 pm
#1024022
tbreslow
Participant
Many thanks!
(I removed the lazy accessors during my switch to 2.0.)
There are two different parts of my application where it is possible to use voice recognition and the sharedInstance
. Right now I am checking isListening
to determine whether I need to setActive:YES
and call startListeningWithLanguageModelAtPath
.
Is this a valid approach?