public enum DeviceType extends Enum<DeviceType> implements HasName
| Enum Constant and Description |
|---|
A1
A1 Tracking Device.
|
CUSTOM_DEVICE
Custom (third-party) device.
|
CUSTOM_VEHICLE_DEVICE
Custom Vehicle Device.
|
GO_DRIVE_DEVICE
GoDrive Mobile Device.
|
GO10
GO10 Tracking Device.
|
GO2
GO Device.
|
GO3
GO3 Tracking Device.
|
GO4
GO4 Tracking Device.
|
GO4V3
GO4v3 Tracking Device - like GO4 but with larger memory and some new functionality.
|
GO5
GO5 Tracking Device.
|
GO6
GO6 Tracking Device.
|
GO7
GO7 Tracking Device.
|
GO8
GO8 Tracking Device.
|
GO9
GO9 Tracking Device.
|
GO9B
GO9 Tracking Device.
|
NONE
Unknown device type.
|
OLD_GEOTAB
GEOTAB unit (unsupported).
|
U1
A1 Tracking Device.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceType |
findByName(String name) |
static DeviceType |
findOrDefault(String name) |
String |
getName() |
String |
getPrefix() |
int |
getProductId() |
Class<? extends Device> |
getType() |
Device |
newInstance() |
static DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType NONE
public static final DeviceType OLD_GEOTAB
public static final DeviceType GO2
public static final DeviceType GO3
public static final DeviceType GO4
public static final DeviceType GO4V3
public static final DeviceType GO5
public static final DeviceType GO6
public static final DeviceType GO7
public static final DeviceType GO8
public static final DeviceType GO9
public static final DeviceType GO9B
public static final DeviceType GO10
public static final DeviceType CUSTOM_DEVICE
public static final DeviceType GO_DRIVE_DEVICE
public static final DeviceType CUSTOM_VEHICLE_DEVICE
public static final DeviceType A1
public static final DeviceType U1
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getPrefix()
public int getProductId()
public Device newInstance()
public static DeviceType findOrDefault(String name)
public static DeviceType findByName(String name)
Copyright © 2023. All rights reserved.