We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

VirtualSensorData

Expand

Class Info

public class VirtualSensorData

The definition class of the virtual sensor data. It defines the data fields of the virtual sensor, including the virtual sensor, data, and timestamp.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

float[]

getValues()

Obtains the sensor data.

VirtualSensor

getSensor()

Obtains the sensor object.

int

getAccuracy()

Obtains the accuracy of the sensor data.

long

getTimestamp()

Obtains the data timestamp.

Public Methods

getValues

Expand

Method

public float[] getValues()

Obtains the sensor data.

Return

Expand

Type

Description

float[]

Sensor data.

getSensor

Expand

Method

public VirtualSensor getSensor()

Obtains the sensor object.

Return

Expand

Type

Description

VirtualSensor

Sensor object.

getAccuracy

Expand

Method

public int getAccuracy()

Obtains the accuracy of the sensor data.

Return

Expand

Type

Description

int

Accuracy of the sensor data.

getTimestamp

Expand

Method

public long getTimestamp()

Obtains the data timestamp.

Return

Expand

Type

Description

long

Data timestamp.