kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
location
/
com.siddharth.kmp.location
/
IntervalInputs
Interval
Inputs
data
class
IntervalInputs
(
val
speedMps
:
Double
,
val
batteryPct
:
Int
,
val
isCharging
:
Boolean
,
val
isPowerSaver
:
Boolean
,
val
elapsedMs
:
Long
,
val
tierMultiplier
:
Double
=
1.0
,
val
harshAccel
:
Boolean
=
false
,
val
userFloorMs
:
Long
=
0
)
(
source
)
Inputs for one location-request interval recomputation.
Members
Constructors
Interval
Inputs
Link copied to clipboard
constructor
(
speedMps
:
Double
,
batteryPct
:
Int
,
isCharging
:
Boolean
,
isPowerSaver
:
Boolean
,
elapsedMs
:
Long
,
tierMultiplier
:
Double
=
1.0
,
harshAccel
:
Boolean
=
false
,
userFloorMs
:
Long
=
0
)
Properties
battery
Pct
Link copied to clipboard
val
batteryPct
:
Int
elapsed
Ms
Link copied to clipboard
val
elapsedMs
:
Long
harsh
Accel
Link copied to clipboard
val
harshAccel
:
Boolean
is
Charging
Link copied to clipboard
val
isCharging
:
Boolean
is
Power
Saver
Link copied to clipboard
val
isPowerSaver
:
Boolean
speed
Mps
Link copied to clipboard
val
speedMps
:
Double
tier
Multiplier
Link copied to clipboard
val
tierMultiplier
:
Double
user
Floor
Ms
Link copied to clipboard
val
userFloorMs
:
Long