VideoNormalizationRequest class
One normalization job.
final request = VideoNormalizationRequest(
input: VideoInput.file(pickedPath),
preset: VideoPreset.compatibility,
);
- Annotations
Constructors
- VideoNormalizationRequest({String? id, required VideoInput input, VideoPreset preset = VideoPreset.compatibility, VideoNormalizationConfiguration? configuration, SkipPolicy skipPolicy = SkipPolicy.skipWhenCompliant, int? targetSizeBytes, MetadataPolicy metadataPolicy = MetadataPolicy.stripLocation, String? destination, Duration? timeout})
- Creates a request.
Properties
- configuration → VideoNormalizationConfiguration
-
The effective output specification: the preset's values, or the
caller's when preset is VideoPreset.custom.
final
- destination → String?
-
Where to write the output on Android and iOS: an absolute file path.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifies this request in progress events, cancellation and logs.
final
- input → VideoInput
-
The video to normalize.
final
- metadataPolicy → MetadataPolicy
-
What happens to location and device metadata.
final
- preset → VideoPreset
-
The preset the output follows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipPolicy → SkipPolicy
-
Whether compliant sources are skipped.
final
- targetSizeBytes → int?
-
An upper bound for the output size in bytes, or null for none.
final
- timeout → Duration?
-
Cancels the request with
NormalizationTimeoutwhen it has not finished after this long. Null (the default) means no limit.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited