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

MoveOptions

MOVE Models

MoveOptions class since MOVE SDK v2.3

data class MoveOptions(
    val motionPermissionRequired: Boolean = false,
    val backgroundLocationPermissionMandatory: Boolean = false,
    val overlayPermissionMandatory: Boolean = true,
    val useBackendConfig: Boolean = false,
    val deviceDiscovery: DeviceDiscovery? = null,
)

MoveOptions

Type

Default

motionPermissionRequired (Android) / motionPermissionMandatory (iOS)

Boolean

false

Pass true if you want the motion permission (activity recognition) to be mandatory for driving service.

backgroundLocationPermissionMandatory (Since MOVE SDK v2.6)

Boolean

false

Pass true if you want the background location permission to be mandatory for driving service.

ANDROID ONLY:

overlayPermissionMandatory (Since MOVE SDK v2.6.9) Flutter: overlayPermissionMandatory is not configurable via Flutter MoveOptions. The default is true.

Boolean

true

Pass false if you don't want the overlay permission mandatory for driving service. Attention: in this case the device must be equipped with a gyroscope!

useBackendConfig (Since MOVE SDK v2.5)

Boolean

false

Pass true to use the MOVE Dashboard configuration instead of the local MoveConfig. When enabled, the local MoveConfig passed in setup() is ignored and the backend configuration takes precedence.

deviceDiscovery

null

Create / pass a DeviceDiscovery object if you want to have more control over the BDD - Device Discovery feature.

MoveOptions related

updateConfig(...) (Android) / update(...) (iOS)

Last updated