VideoCompressionQuality enum
Values
- p360 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 360, bitrate: 400000) - p480 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 480, bitrate: 800000) - p640 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 640, bitrate: 1200000) - p720 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 720, bitrate: 2000000) - p1080 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 1080, bitrate: 4000000) - p1280 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 1280, bitrate: 6000000) - p1440 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 1440, bitrate: 8000000) - p1920 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 1920, bitrate: 12000000) - k2 → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 1080, bitrate: 10000000) - original → const VideoCompressionQuality
-
const VideoCompressionQuality(maxHeight: 0, bitrate: 0)
Properties
- bitrate → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- maxHeight → int
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateHeight(
int originalHeight) → int - Calculate target height based on original dimensions
-
calculateWidth(
int originalWidth, int originalHeight) → int - Calculate target width based on original aspect ratio and max height
-
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
Constants
-
values
→ const List<
VideoCompressionQuality> - A constant List of the values in this enum, in order of their declaration.