MoveConfig
MOVE Models
data class MoveConfig(
var moveDetectionServices: List<MoveDetectionService> ...
)
...
sealed class MoveDetectionService {
class Driving(val drivingServices: List<DrivingService>? = null) : MoveDetectionService()
object Cycling : MoveDetectionService()
class Walking(val walkingServices: List<WalkingService>? = null) : MoveDetectionService()
object Places : MoveDetectionService()
object PublicTransport : MoveDetectionService()
object PointsOfInterest : MoveDetectionService()
object AutomaticImpactDetection : MoveDetectionService()
object AssistanceCall : MoveDetectionService()
object Health : MoveDetectionService()
}
struct MoveConfig {
enum DetectionService {
case driving([DrivingService])
case cycling
case walking([WalkingService])
case places
case publicTransport
case pointsOfInterest
case automaticImpactDetection
case assistanceCall
case health
}
enum DrivingService {
case drivingBehavior
case distractionFreeDriving
case deviceDiscovery
}
enum WalkingService {
case location
}
var detectionServices: [TimelineDetectionService]
}Last updated