For the complete documentation index, see llms.txt. This page is also available as Markdown.

DeviceDiscovery

MOVE Models

Since MOVE SDK v2.4

data class DeviceDiscovery(
    val startDelay: Long?,
    val duration: Long?,
    val interval: Long?,
    val stopScanOnFirstDiscovered: Boolean = false,
    val ensureSynced: Boolean = false,
)

DeviceDiscovery

Type

Default

startDelay

Number

120

Device discovery delay from start of the trip in seconds. If null, the default value is used.

duration

Number

10

Device discovery scan duration in seconds. If null, the default value is used.

interval

Number

300

Device discovery repeat interval in seconds. If null, the default value is used.

stopScanOnFirstDiscovered

Boolean

false

Stop detection on first device discovered.

ensureSynced

Boolean

false

since MOVE SDK 2.17.0

If set to true devices which fail synchronisation with the backend will automatically be unregistered. See state in MoveDeviceState.

DeviceDiscovery related

.setup(..., options:...)

During setup it is possible to add DeviceDiscovery options to the MOVE SDK.

Device Discovery Listener (Android / iOS)

Fired when previous registered MoveDevice's are scanned.

Last updated