LocationSource
enum LocationSource : Enum<LocationSource> Represents the origin of a location fix used by the SDK’s positioning system.
The Lazarillo SDK combines multiple location sources to provide accurate positioning in both indoor and outdoor environments. This enum identifies which technology produced a given location estimate, allowing downstream consumers to understand the reliability and context of each fix. Beacon-sourced locations are generally more accurate indoors, while GPS-sourced locations are preferred outdoors.
See also
| com.lazarillo.sdk.plugin.repository.model.place.LzLocation |
| LocationMergedRepository |
Entries
GPS_LOCATION_SOURCE | GPS_LOCATION_SOURCELocation obtained from GPS via the Android Fused Location Provider. Preferred for outdoor positioning. |
BEACON_LOCATION_SOURCE | BEACON_LOCATION_SOURCELocation obtained from Bluetooth beacons (Eddystone or iBeacon). Preferred for indoor positioning and includes floor information. |
UNKNOWN_SOURCE | UNKNOWN_SOURCELocation source could not be determined. Used as a default or fallback value. |
Properties
entries
val entries: EnumEntries<LocationSource>Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name
val name: Stringordinal
val ordinal: IntFunctions
valueOf
fun valueOf(value: String): LocationSourceReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<LocationSource>Returns an array containing the constants of this enum type, in the order they’re declared.