Package com.geouniq.android
Enum Class GeoUniq.MotionActivity.Type
- All Implemented Interfaces:
Serializable,Comparable<GeoUniq.MotionActivity.Type>,Constable
- Enclosing class:
- GeoUniq.MotionActivity
Enumeration defining the kinds of motion activities.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnumeration value indicating that the user is moving in a vehicle such as a car, a bus, a train, etc.Enumeration value indicating that the user is riding a bicycle.Enumeration value indicating that the user is runningEnumeration value indicating that the user is not movingEnumeration value indicating that no motion activity could be detected with sufficient accuracyEnumeration value indicating that the user is walking -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoUniq.MotionActivity.TypeReturns the enum constant of this class with the specified name.static GeoUniq.MotionActivity.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STILL
Enumeration value indicating that the user is not moving -
WALKING
Enumeration value indicating that the user is walking -
RUNNING
Enumeration value indicating that the user is running -
CYCLING
Enumeration value indicating that the user is riding a bicycle. -
AUTOMOTIVE
Enumeration value indicating that the user is moving in a vehicle such as a car, a bus, a train, etc. -
UNKNOWN
Enumeration value indicating that no motion activity could be detected with sufficient accuracy
-
-
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
-