public class BluetoothMetrics extends SystemMetrics<BluetoothMetrics>
| Modifier and Type | Field and Description |
|---|---|
int |
bleScanCount |
long |
bleScanDurationMs |
| Constructor and Description |
|---|
BluetoothMetrics() |
| Modifier and Type | Method and Description |
|---|---|
BluetoothMetrics |
diff(BluetoothMetrics b,
BluetoothMetrics output)
Subtract the object passed in from the current object.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
BluetoothMetrics |
set(BluetoothMetrics b)
Sets all fields in this to values from the SystemMetrics object passed in: a _deep_ copy that
shouldn't share any values with other metrics objects.
|
BluetoothMetrics |
sum(BluetoothMetrics b,
BluetoothMetrics output)
Add values from the SystemMetrics object passed in and sets them on the output object,
if available.
|
java.lang.String |
toString() |
diff, sumpublic BluetoothMetrics sum(@Nullable BluetoothMetrics b, @Nullable BluetoothMetrics output)
SystemMetricssum in class SystemMetrics<BluetoothMetrics>public BluetoothMetrics diff(@Nullable BluetoothMetrics b, @Nullable BluetoothMetrics output)
SystemMetricsdiff in class SystemMetrics<BluetoothMetrics>public BluetoothMetrics set(BluetoothMetrics b)
SystemMetricsset in class SystemMetrics<BluetoothMetrics>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object