startRecognition

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

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