public class KontaktTelemetry
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
KontaktTelemetry.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
BATTERY_LEVEL_EXTERNAL_POWER_SUPPLIED_VALUE |
static int |
BLE_DEVICES_NOT_SUPPORTED_VALUE |
static int |
BLE_SCANS_NOT_SUPPORTED_VALUE |
static android.os.Parcelable.Creator<KontaktTelemetry> |
CREATOR
Parcelable CREATOR constant.
|
static int |
DOUBLE_TAP_DISABLED_VALUE |
static int |
LOAD_AVERAGE_NOT_SUPPORTED_VALUE |
static int |
THRESHOLD_DISABLED_VALUE |
static int |
WIFI_SCANS_NOT_SUPPORTED_VALUE |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
Acceleration |
getAcceleration()
Returns raw accelerometer data filtered with lowpass filter.
|
int |
getBatteryLevel()
Returns battery level percentage (0 - 100).
|
int |
getBleDevices()
Returns number of scanned BLE devices (10 seconds average).
|
int |
getBleScans()
Returns BLE scanning statistics (10 seconds average).
|
TelemetryError |
getError()
Returns error flags.
|
int |
getLastDoubleTap()
Returns seconds since last doubletap event.
|
int |
getLastThreshold()
Returns seconds since last threshold event.
|
int |
getLightSensor()
Returns light sensor percentage (0 - 100).
|
int |
getSensitivity()
Returns accelerometer sensitivity.
|
int |
getSystemLoad()
Returns percentage of system load average over 15 min.
|
int |
getTemperature()
Returns temperature in Celsius degrees.
|
int |
getTimestamp()
Returns Unix timestamp (seconds since 1970).
|
int |
getUptime()
Returns uptime rounded to hours.
|
int |
getWifiScans()
Returns WiFi scanning statistics (10 seconds average).
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<KontaktTelemetry> CREATOR
public static final int BATTERY_LEVEL_EXTERNAL_POWER_SUPPLIED_VALUE
public static final int DOUBLE_TAP_DISABLED_VALUE
public static final int THRESHOLD_DISABLED_VALUE
public static final int LOAD_AVERAGE_NOT_SUPPORTED_VALUE
public static final int BLE_SCANS_NOT_SUPPORTED_VALUE
public static final int WIFI_SCANS_NOT_SUPPORTED_VALUE
public static final int BLE_DEVICES_NOT_SUPPORTED_VALUE
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int getTimestamp()
public int getBatteryLevel()
public int getUptime()
public int getSystemLoad()
public TelemetryError getError()
public int getSensitivity()
public Acceleration getAcceleration()
public int getLastDoubleTap()
public int getLastThreshold()
public int getLightSensor()
public int getTemperature()
public int getBleScans()
public int getWifiScans()
public int getBleDevices()