Package com.vuzix.ultralite
Enum Class Icon
- All Implemented Interfaces:
Serializable
,Comparable<Icon>
,Constable
Supported icons. Only used with navigation layout.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIcon: Indication you are arriving at the destinationRequest a custom icon image be shown.Icon: Arrow indicating to stay left at a merge pointIcon: Arrow indicating to stay right at a merge pointIcon: Left turn arrowDo not show any iconIcon: Right turn arrowIcon: Indication you are at the beginning of a routeIcon: Arrow indicating to continue straight aheadIcon: Arrow indicating to make a U-Turn -
Method Summary
-
Enum Constant Details
-
NONE
Do not show any icon- Since:
- 1.0.0
-
LEFT
Icon: Left turn arrow- Since:
- 1.0.0
-
RIGHT
Icon: Right turn arrow- Since:
- 1.0.0
-
STRAIGHT
Icon: Arrow indicating to continue straight ahead- Since:
- 1.0.0
-
UTURN
Icon: Arrow indicating to make a U-Turn- Since:
- 1.0.0
-
KEEP_LEFT
Icon: Arrow indicating to stay left at a merge point- Since:
- 1.0.0
-
KEEP_RIGHT
Icon: Arrow indicating to stay right at a merge point- Since:
- 1.0.0
-
ARRIVE
Icon: Indication you are arriving at the destination- Since:
- 1.0.0
-
START
Icon: Indication you are at the beginning of a route- Since:
- 1.0.0
-
CUSTOM
Request a custom icon image be shown. You must first send the image to the glasses with UltraliteSDK.sendIcon(LVGLImage).- Since:
- 1.0.0
-
-
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
-
getId
public int getId()Get the enumerated value- Returns:
- numeric ID
- Since:
- 1.0.0
-