| Package | Description |
|---|---|
| com.scvngr.levelup.core.util |
| Modifier and Type | Method and Description |
|---|---|
static DistanceUtil.DistanceUnit |
DistanceUtil.DistanceUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceUtil.DistanceUnit[] |
DistanceUtil.DistanceUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
DistanceUtil.convertDistance(float distanceInMeters,
DistanceUtil.DistanceUnit desiredUnit)
Converts a distance in meters to the desired unit.
|