Skip to content
Select language:English

MDK 3.7.3

fun setMockLocation(location: Location)

Sets the mock location for testing purpose.

This location will be returned by SpatialManager.getLocationFromOS and used as the reference origin for the localization engine — meaning all subsequent positions reported by the GNSS will be offset accordingly.

Parameters

location

The mock location to be used for testing.