startRecognition

abstract fun startRecognition(    audioInputStream: SharedDataStream?,     audioFormat: AudioFormat?,     wakeupInfo: WakeupInfo?,     param: EndPointDetectorParam?,     callback: ASRAgentInterface.StartRecognitionCallback?,     initiator: ASRAgentInterface.Initiator)

Start recognizing

Parameters

audioInputStream

the audio input stream to read for recognizing

audioFormat

the format of audioInputStream

wakeupInfo

the wakeupInfo of wakeword for audioInputStream if exist.

param

the params for EPD

callback

the callback for request

initiator

the initiator causing recognition