SensorEvent: SensorEvent

Description Format Public fields Methods

Description

SensorEvent Class

Format

An R6Class generator object

Public fields

timestamp

numeric [optional]

sensor

character [optional]

Methods

Public methods


Method new()

Usage
SensorEvent$new(timestamp = NULL, sensor = NULL, data = NULL, ...)

Method toJSON()

Usage
SensorEvent$toJSON()

Method fromJSON()

Usage
SensorEvent$fromJSON(SensorEventJson)

Method toJSONString()

Usage
SensorEvent$toJSONString()

Method fromJSONString()

Usage
SensorEvent$fromJSONString(SensorEventJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
SensorEvent$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


BIDMCDigitalPsychiatry/LAMP-r documentation built on April 29, 2020, 9:51 a.m.