Voice class abstract

Commands to react to voice user input. NOTE: The device can send microphone events independently of whether or not the microphone event was initiated by the skill or the user.

Annotations
  • @anonymous
  • @JS()

Constructors

Voice()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMicrophoneClosed(VoidCallback callback) Speech
This function is used to register a listener for microphone closed events coming from the device.
onMicrophoneOpened(VoidCallback callback) Speech
This function is used to register a listener for microphone open events from the device.
requestMicrophoneOpen([VoiceArgs? config]) Speech
Make a request to open the microphone on the device to accept user utterances.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited