VideoOrientation enum
Defines the orientation of video content.
This enum represents the orientation metadata of the VAP animation, which can be used to determine how the content should be displayed or processed.
Values
- none → const VideoOrientation
-
No specific orientation or orientation is unknown.
const VideoOrientation(0) - portrait → const VideoOrientation
-
Video content is in portrait orientation (height > width).
const VideoOrientation(1) - landscape → const VideoOrientation
-
Video content is in landscape orientation (width > height).
const VideoOrientation(2)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
- value → int
-
The integer value used for native platform communication.
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
Static Methods
-
fromValue(
int value) → VideoOrientation - Creates a VideoOrientation from an integer value.
Constants
-
values
→ const List<
VideoOrientation> - A constant List of the values in this enum, in order of their declaration.