LRProtection Status
data class LRProtectionStatus(val isProtectionActive: Boolean, val vehicleType: LRVehicleType?, val sessionId: String?, val hasShockAnalysis: Boolean, val alert: LRAlert?, val emergency: LREmergency?)
Immutable snapshot of the current protection status exposed by the SDK.
Constructors
Link copied to clipboard
constructor(isProtectionActive: Boolean, vehicleType: LRVehicleType?, sessionId: String?, hasShockAnalysis: Boolean, alert: LRAlert?, emergency: LREmergency?)
Properties
Link copied to clipboard
Non-null when the SDK is tracking an emergency following an accident.
Link copied to clipboard
True while a shock analysis is in progress.
Link copied to clipboard
True when a protection session is active.
Link copied to clipboard
The current vehicle type when protection is active; null otherwise.