DetectorResultObserver

interface DetectorResultObserver

The observer for keyword detector

Types

Link copied to clipboard

Enum class for error types

Functions

Link copied to clipboard
abstract fun onDetected(wakeupInfo: WakeupInfo)

Called when the keyword detected

Link copied to clipboard
abstract fun onError(errorType: KeywordDetector.DetectorResultObserver.ErrorType)

Called when occurs error

Link copied to clipboard
abstract fun onStopped()

Called when stopped by stopDetect