AudioMetadata class
Metadata information about an audio stream. An array of
AudioMetadata
objects for the audio streams found in a stored
video is returned by GetSegmentDetection.
Constructors
- AudioMetadata({String? codec, int? durationMillis, int? numberOfChannels, int? sampleRate})
-
AudioMetadata.fromJson(Map<
String, dynamic> json) -
factory
Properties
- codec → String?
-
The audio codec used to encode or decode the audio stream.
final
- durationMillis → int?
-
The duration of the audio stream in milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- numberOfChannels → int?
-
The number of audio channels in the segment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int?
-
The sample rate for the audio stream.
final
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