Skip to content
Select language:English

MDK 3.7.3

Allows an application to explicitly control building entry and exit events.

This class is intended for scenarios where the application uses an external mechanism to determine whether the user has entered or exited a building. This information can then be provided to the localization system, allowing indoor positioning mechanisms, such as visual positioning, to operate within the correct building.

This is particularly useful when using universal localization starting from a Region.

The application is responsible for determining when a building is entered or exited and for notifying the localization system accordingly.

Constructors

constructor()

Properties

The identifier of the currently selected building.

Functions

fun enter(buildingId: String)

Notifies the localization system that the user has entered the specified building.

fun exit()

Notifies the localization system that the user has exited the currently selected building.

fun link(module: Module)

Links a module.

fun unlink(module: Module)

Unlinks a module.

fun unlinkAll()

Unlinks all the previously linked modules.