RecognizeRequest class

Request message for the Recognize method.

Either content or uri must be supplied. Supplying both or neither returns INVALID_ARGUMENT. See content limits.

Constructors

RecognizeRequest({RecognitionConfig? config, String? configMask, String? content, String? uri})
RecognizeRequest.fromJson(Map json_)

Properties

config RecognitionConfig?
Features and audio metadata to use for the Automatic Speech Recognition.
getter/setter pair
configMask String?
The list of fields in config that override the values in the default_recognition_config of the recognizer during this recognition request.
getter/setter pair
content String?
The audio data bytes encoded as specified in RecognitionConfig.
getter/setter pair
contentAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
URI that points to a file that contains audio data bytes as specified in RecognitionConfig.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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