VoiceArgs class abstract
Configuration arguments of a microphone open request.
- Annotations
-
- @anonymous
- @JS()
Constructors
- VoiceArgs({VoidCallback? onClosed, MicrophoneOpenedErrorCallback? onError, VoidCallback? onOpened})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onClosed ↔ VoidCallback?
-
Optional callback function that will be called when the microphone closes at the end of
a successful request.
getter/setter pair
- onError ↔ MicrophoneOpenedErrorCallback?
-
Optional callback function that will be called if the microphone request is unsuccessful
due to an error. This includes cases where the request was denied because the
microphone was already opened
getter/setter pair
- onOpened ↔ VoidCallback?
-
Optional callback function that will be called when the microphone
opens if the request is successful.
getter/setter pair
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited