Skip to Content
API ReferenceModelsInsideBuilding

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

INSIDEINSIDE
User is confirmed indoors. Bluetooth beacon signals have been detected, providing reliable indoor positioning.
OUTSIDEOUTSIDE
User is confirmed outdoors. GPS fix has sufficient accuracy and no beacon signals are present.
MAYBE_INSIDEMAYBE_INSIDE
User may be inside a building. GPS accuracy suggests proximity to a known building, but no beacon signals have been detected yet.
UNKNOWNUNKNOWN
Insufficient 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: String

ordinal

val ordinal: Int

Functions

valueOf

fun valueOf(value: String): InsideBuilding

Returns 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.

Last updated on