startRecognition
open override fun startRecognition( audioInputStream: SharedDataStream?, audioFormat: AudioFormat?, wakeupInfo: WakeupInfo?, param: EndPointDetectorParam?, callback: ASRAgentInterface.StartRecognitionCallback?, initiator: ASRAgentInterface.Initiator)
Content copied to clipboard
start recognition
Parameters
audioInputStream
the audio input stream which is used for recognition, if null
audioFormat
the audio format for audioInputStream.
wakeupInfo
the wakeup info(boundary & word) causing this recognition. The boundary should be relative position for audioInputStream, If the recognition was not invoked by wakeup, set to null.
param
the params for EPD
callback
the callback for request
initiator
the initiator causing recognition