AutomotiveCameraBehavior.OrientationMode (API Reference)
Package com.here.sdk.navigation
Enum Class AutomotiveCameraBehavior.OrientationMode
java.lang.Object
java.lang.Enum<AutomotiveCameraBehavior.OrientationMode>
com.here.sdk.navigation.AutomotiveCameraBehavior.OrientationMode
- All Implemented Interfaces:
Serializable,Comparable<AutomotiveCameraBehavior.OrientationMode>,Constable
- Enclosing class:
- AutomotiveCameraBehavior
public static enum AutomotiveCameraBehavior.OrientationMode
extends Enum<AutomotiveCameraBehavior.OrientationMode>
Defines the visual presentation modes for the camera orientation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplays the map in 2D view with the camera perpendicular to the Earth's surface.Displays the map in 3D view with a tilted camera perspective.Displays the map in north-up orientation where the top of the screen always points north, regardless of the vehicle's heading. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODE_2D
Displays the map in 2D view with the camera perpendicular to the Earth's surface. The camera looks straight down and rotates to match the vehicle's heading in tracking mode.
-
MODE_3D
Displays the map in 3D view with a tilted camera perspective. The camera uses a configurable tilt angle to provide depth perception.
-
MODE_NORTH_UP
Displays the map in north-up orientation where the top of the screen always points north, regardless of the vehicle's heading. The map rotates beneath the viewport instead of rotating the camera to match heading.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-