GenaiVertexV1AudioContent class

An audio content block.

Constructors

GenaiVertexV1AudioContent({int? channels, String? data, String? mimeTypeString, int? sampleRate, String? uri})
GenaiVertexV1AudioContent.fromJson(Map json_)

Properties

channels ↔ int?
The number of audio channels.
getter/setter pair
data ↔ String?
The audio content.
getter/setter pair
dataAsBytes ↔ List<int>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
mimeTypeString ↔ String?
Flexible MIME type string of the audio, superseding mime_type = 1.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ↔ int?
The sample rate of the audio.
getter/setter pair
uri ↔ String?
The URI of the audio.
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