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, sum
public BluetoothMetrics sum(@Nullable BluetoothMetrics b, @Nullable BluetoothMetrics output)
SystemMetrics
sum
in class SystemMetrics<BluetoothMetrics>
public BluetoothMetrics diff(@Nullable BluetoothMetrics b, @Nullable BluetoothMetrics output)
SystemMetrics
diff
in class SystemMetrics<BluetoothMetrics>
public BluetoothMetrics set(BluetoothMetrics b)
SystemMetrics
set
in class SystemMetrics<BluetoothMetrics>
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