Skip to content
Select language:English

MDK 3.7.3

open suspend override fun startLocalization(listener: LocationListener, scope: CoroutineScope = GiPStech.defaultScope): LocationSession

Starts the localization process within the building.

The localization system will attempt to determine the user's position within the building even if the user's current location data (e.g., GPS, Wi-Fi) indicates they are outside the building's defined boundaries.

Return

A LocationSession object representing the ongoing localization session.

Parameters

listener

The listener that will receive localization events.

scope

Optional parameter that specifies the coroutine scope used for invoking listener events.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If another operation is in progress.