Skip to content
Select language:English

MDK 3.7.3

fun setSensorFile(filename: String, mockLocation: Location? = null, fastForward: Boolean = false)

Sets the sensor file to be used for reading sensor data for testing purpose.

Parameters

filename

The full path of the sensor file.

mockLocation

The mock location returned when calling SpatialManager.getLocationFromOS.

fastForward

true to enable fast-forwarding through the file, false otherwise.