InsideBuilding
enum InsideBuilding : Enum<InsideBuilding> Represents the confidence level of indoor/outdoor detection for the user’s current position.
The SDK’s hybrid positioning system uses a combination of Bluetooth beacon signals and GPS accuracy to determine whether the user is inside a building. This enum communicates the result of that determination, allowing the UI and navigation logic to adapt accordingly (e.g., showing floor selectors indoors, switching map styles, or adjusting location source priority).
See also
| LocationSource |
| LocationMergedRepository |
Entries
INSIDE | INSIDEUser is confirmed indoors. Bluetooth beacon signals have been detected, providing reliable indoor positioning. |
OUTSIDE | OUTSIDEUser is confirmed outdoors. GPS fix has sufficient accuracy and no beacon signals are present. |
MAYBE_INSIDE | MAYBE_INSIDEUser may be inside a building. GPS accuracy suggests proximity to a known building, but no beacon signals have been detected yet. |
UNKNOWN | UNKNOWNInsufficient data to determine indoor/outdoor status. Neither GPS nor beacon data provides a conclusive answer. |
Properties
entries
val entries: EnumEntries<InsideBuilding>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): InsideBuildingReturns 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<InsideBuilding>Returns an array containing the constants of this enum type, in the order they’re declared.