SensorDataChunk

Represents a chunk of sensor data.

SensorDataChunk API

getSize()

int getSize()

Returns the number of sensor samples in the chunk. All of x, y, z, and timestamp arrays will be of this size.

getTimestamps()

long[] getTimestamps()

Returns the timestamps in UTC epoch time.

getXValues()

float[] getXValues()

Returns the x-axis values.

getYValues()

float[] getYValues()

Returns the y-axis values.

getZValues()

float[] getZValues()

Returns the z-axis values.

Last updated