EndPointDetector

class EndPointDetector(epdModelFilePath: String, assetManager: AssetManager? = null) : AudioEndPointDetector

Porting class for TycheEndPointDetector to use in NUGU SDK

Parameters

epdModelFilePath

the absolute path for epd model file

Constructors

Link copied to clipboard
fun EndPointDetector(epdModelFilePath: String, assetManager: AssetManager? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun addListener(listener: AudioEndPointDetector.OnStateChangedListener)
Link copied to clipboard
open override fun removeListener(listener: AudioEndPointDetector.OnStateChangedListener)
Link copied to clipboard
open override fun startDetector(    reader: SharedDataStream.Reader,     audioFormat: AudioFormat,     timeoutInSeconds: Int,     maxDurationInSeconds: Int,     pauseLengthInMilliseconds: Int): Boolean
Link copied to clipboard
open override fun stopDetector()