Class LocationSettings
Package world.mappable.mapkit.location
java.lang.Object
↳ world.mappable.mapkit.location.LocationSettings
class LocationSettings implements Serializable
Summary
Constructors
Signature and Description |
LocationSettings() |
LocationSettings(boolean provideAccuracy, |
Methods
Type and modifiers |
Method and Description |
|
getProvideAccuracy() |
|
getAccuracy() |
|
getLocationTimeInterval() |
|
getProvideSpeed() |
|
getSpeed() |
|
getProvideHeading() |
|
getHeadingError() |
|
|
|
getProvideWheelSpeed() |
|
getWheelSpeedTimeInterval() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
Constuctors
LocationSettings
LocationSettings() |
Use constructor with parameters in your code.
This one is for serialization only!
LocationSettings
LocationSettings(boolean provideAccuracy, |
Methods
getProvideAccuracy
boolean getProvideAccuracy() |
Flag whether to provide accuracy value.
getAccuracy
@Nullable |
Location accuracy range in meters.
Optional field, can be null.
getLocationTimeInterval
@NonNull |
Location time interval in milliseconds.
getProvideSpeed
boolean getProvideSpeed() |
Flag whether to provide speed value.
getSpeed
double getSpeed() |
The speed in meters per second.
getProvideHeading
boolean getProvideHeading() |
Flag whether to provide error of heading.
getHeadingError
@Nullable |
The current heading error range in degrees relative to true heading, clockwise.
Optional field, can be null.
getLocationError
@NonNull |
getProvideWheelSpeed
boolean getProvideWheelSpeed() |
Flag whether to provide wheel speed value.
getWheelSpeedTimeInterval
@NonNull |
Time interval of getting the wheel speed in milliseconds.
After publication the wheel speed corresponds to the speed value.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |