Reply To: [Resolved] sharedInstance SetActive: usage question

Home Forums OpenEars [Resolved] sharedInstance SetActive: usage question Reply To: [Resolved] sharedInstance SetActive: usage question

#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?