HVTLevelerLockedOrientation Constants Reference
Declared in | HVTVars.h |
---|---|
References | HVTLevelerCropMode |
HVTLevelerLockedOrientation
Constants indicating the expected psysical orientation of the device when the leveling algorithm
uses HVTLevelerCropModeLocked
mode.
Definition
typedef NS_ENUM(NSInteger, HVTLevelerLockedOrientation ) {
HVTLevelerLockedOrientationAuto = 0,
HVTLevelerLockedOrientationVertical,
HVTLevelerLockedOrientationAlwaysVertical,
HVTLevelerLockedOrientationHorizontal,
HVTLevelerLockedOrientationAlwaysHorizontal,
};
Constants
HVTLevelerLockedOrientationAuto
-
Horizontal or vertical orientation will be chosen according on the device’s physical orientation.
Declared In
HVTVars.h
. HVTLevelerLockedOrientationVertical
-
Device must be held vertically.
Declared In
HVTVars.h
. HVTLevelerLockedOrientationAlwaysVertical
-
The leveler is always locked into the vertical orientation, regardless of the device’s orientation.
Declared In
HVTVars.h
. HVTLevelerLockedOrientationHorizontal
-
Device must be held horizontally.
Declared In
HVTVars.h
. HVTLevelerLockedOrientationAlwaysHorizontal
-
The leveler is always locked into the horizontal orientation, regardless of the device’s orientation.
Declared In
HVTVars.h
.
See Also
Declared In
HVTVars.h