AudioInputEvent

Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user.

Amazon Lex V2 accumulates audio chunks until it recognizes a natural pause in speech before processing the input.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An encoded stream of audio.

Link copied to clipboard

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

Link copied to clipboard

The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit mono-channel little-endian format. The value of the field should be:

Link copied to clipboard

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

Functions

Link copied to clipboard
inline fun copy(block: AudioInputEvent.Builder.() -> Unit = {}): AudioInputEvent
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String