⚙️Properties
When you want to override the default settings (not recommended) you can adjust some of the module's default parameters. The code samples indicate their default values.
Measurement Settings
sampleTime
The duration of the measurement in seconds. Default is set to 1 minute.
flashEnabled
When enabled and supported by the device the SDK will turn on the camera flashlight while measuring.
gravEnabled
When enabled and supported by the device, the measurement result will hold gravitational data.
gyroEnabled
When enabled and supported by the device, the measurement result will hold gyroscope data.
accEnabled
When enabled and supported by the device, the measurement result will hold accelerometer data.
rotationEnabled
When enabled and supported by the device, the measurement result will hold rotational data.
movementDetectionEnabled
When enabled the onMovementDetected()
event will be thrown when movement is detected.
The detection will trigger when the movement vector is lower than 6 or higher than 14.
fingerDetectionExpiryTime
The time until the finger detection will trigger the onFingerDetectionTimeExpired
() event.
By Default this value is -1
, wich indicates that it will keep waiting untill a finger is detected
waitForStartRecordingSignal
Normally, when the calibration is ready, the measurement will start recording. When this flag is enabled, the measurement will wait untill the startRecording()
command has been given.
Graph Settings
graphBackgroundColor
Determines the graphBackground color. By default there is no background color
drawGraph
When enabled the component draws a graph of the recorded PPG signal.
lineColor
Determines the color of the graph line.
lineThickness
Determines the thickness of the graph line.
drawBackground
When enabled, the component will draw a background for the graph
Last updated