toggle menu
ActiveSense
androidJvm
switch theme
search in API
app
/
de.hsrm.activesense.sensor
/
AccelerationSensor
Acceleration
Sensor
class
AccelerationSensor
(
val
sensor
:
Sensor
)
:
SensorModel
Custom AccelerationSensor that takes in gravity data to calculate true Acceleration of the watch
Members
Constructors
Acceleration
Sensor
Link copied to clipboard
constructor
(
sensor
:
Sensor
)
Properties
current
Val
Link copied to clipboard
var
currentVal
:
Array
<
SensorTypeFloat
>
processed
Data
Link copied to clipboard
var
processedData
:
Array
<
SensorTypeFloat
>
sensor
Link copied to clipboard
val
sensor
:
Sensor
value
Names
Link copied to clipboard
open
override
val
valueNames
:
Array
<
String
>
Functions
get
Current
Data
Link copied to clipboard
open
override
fun
getCurrentData
(
)
:
Array
<
SensorTypeFloat
>
on
Accuracy
Changed
Link copied to clipboard
open
override
fun
onAccuracyChanged
(
p0
:
Sensor
?
,
p1
:
Int
)
on
Sensor
Changed
Link copied to clipboard
open
override
fun
onSensorChanged
(
p0
:
SensorEvent
?
)
preprocessing
Link copied to clipboard
open
override
fun
preprocessing
(
additionalDataMap
:
Map
<
String
,
Any
>
?
)
register
Link copied to clipboard
open
override
fun
register
(
context
:
Context
)
unregister
Link copied to clipboard
open
override
fun
unregister
(
context
:
Context
)