VideoMetadata class final
Metadata describes the input video content.
- Inheritance
-
- Object
- ProtoMessage
- VideoMetadata
Constructors
- VideoMetadata({Duration? startOffset, Duration? endOffset, double fps = 0})
- VideoMetadata.fromJson(Object? j)
-
factory
Properties
- endOffset → Duration?
-
Optional. The end offset of the video.
final
- fps → double
-
Optional. The frame rate of the video sent to the model. If not specified,
the default value will be 1.0. The fps range is (0.0, 24.0].
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startOffset → Duration?
-
Optional. The start offset of the video.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String