Package com.skt.nugu.sdk.agent.asr

Types

Link copied to clipboard
interface ASRAgentInterface

The public interface for ASRAgent

Link copied to clipboard
data class AsrNotifyResultPayload(val state: AsrNotifyResultPayload.State, val result: String?)
Link copied to clipboard
data class AsrRecognizeEventPayload(    codec: String,     playServiceId: String? = null,     domainTypes: Array<String>? = null,     asrContext: JsonObject? = null,     language: String? = null,     endpointing: String,     encoding: String? = null,     wakeup: PayloadWakeup? = null,     timeout: AsrRecognizeEventPayload.Timeout? = null)
Link copied to clipboard
Link copied to clipboard
data class EndPointDetectorParam(    val timeoutInSeconds: Int,     val maxDurationInSeconds: Int = 10,     val pauseLengthInMilliseconds: Int = 700)

The params for epd timeout

Link copied to clipboard
data class ExpectSpeechPayload
Link copied to clipboard
data class PayloadWakeup(    val word: String?,     val boundary: PayloadWakeup.Boundary?,     val power: WakeupInfo.Power?)

The wakeup info for payload

Link copied to clipboard
interface SpeechRecognizer
Link copied to clipboard
data class WakeupBoundary(    val detectSamplePosition: Long,     val startSamplePosition: Long,     val endSamplePosition: Long)
Link copied to clipboard
data class WakeupInfo(    val word: String,     val boundary: WakeupInfo.Boundary,     val power: WakeupInfo.Power? = null)

The wakeup info