CaptureVideoOrientation class Null safety

Constants indicating video orientation.

For use with CaptureVideoPreviewLayer and CaptureConnection.

You use these constants in conjunction with an CaptureVideoPreviewLayer object; see CaptureConnection.setVideoOrientation.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

landscapeLeft → const int
Indicates that video should be oriented horizontally, home button on the left.
4
landscapeRight → const int
Indicates that video should be oriented horizontally, home button on the right.
3
portrait → const int
Indicates that video should be oriented vertically, home button on the bottom.
1
portraitUpsideDown → const int
Indicates that video should be oriented vertically, home button on the top.
2