void function ( ) { alexaListening = Optional . of ( new CountDownLatch ( 1 ) ) ; audioPlayer . interruptAllAlexaOutput ( ) ; resumeAudioThread . ifPresent ( t -> t . interrupt ( ) ) ; speechRequestRunning = true ; }
called when the starting a speech request to alexa voice service concode_field_sep AVSAudioPlayer audioPlayer concode_elem_sep Optional<CountDownLatch> outstandingDirectiveCount concode_elem_sep Optional<Thread> resumeAudioThread concode_elem_sep Optional<CountDownLatch> alexaListening concode_elem_sep boolean speechRequestRunning concode_elem_sep Optional<CountDownLatch> alexaSpeaking concode_field_sep void dispatchDirective concode_elem_sep void finishedListening concode_elem_sep void onExpectSpeechDirective concode_elem_sep void onAlexaSpeechStarted concode_elem_sep void onAlexaSpeechFinished concode_elem_sep void speechRequestProcessingFinished