目录

VirtualSensorData

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

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

[h2]getValues

Method

public float[] getValues()

Obtains the sensor data.

Return

Type

Description

float[]

Sensor data.

[h2]getSensor

Method

public VirtualSensor getSensor()

Obtains the sensor object.

Return

Type

Description

VirtualSensor

Sensor object.

[h2]getAccuracy

Method

public int getAccuracy()

Obtains the accuracy of the sensor data.

Return

Type

Description

int

Accuracy of the sensor data.

[h2]getTimestamp

Method

public long getTimestamp()

Obtains the data timestamp.

Return

Type

Description

long

Data timestamp.