
io.relayr.java.model.DataPackage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
package io.relayr.java.model;
import java.util.ArrayList;
import java.util.List;
/**
* A reading is the information gathered by the device.
* It's used internally in the sdk to represent the data that arrived from the sever or from the
* device via direct connection.
*/
public class DataPackage {
public long received;
public String deviceId;
public String modelId;
public List readings = new ArrayList<>();
public static class Data {
public final long recorded;
public final String meaning;
public final String path;
public final Object value;
public Data(long recorded, String meaning, String path, Object value) {
this.recorded = recorded;
this.meaning = meaning;
this.path = path;
this.value = value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy