startDetect

abstract fun startDetect(    inputStream: SharedDataStream,     audioFormat: AudioFormat,     observer: KeywordDetector.DetectorResultObserver): Boolean

Start Detector

Return

true: start detection, false: already started

Parameters

inputStream

the audio input used for detection

audioFormat

the format of inputStream

observer

the event observer