public class CameraMetrics extends SystemMetrics<CameraMetrics>
| Modifier and Type | Field and Description |
|---|---|
long |
cameraOpenTimeMs |
long |
cameraPreviewTimeMs |
| Constructor and Description |
|---|
CameraMetrics() |
| Modifier and Type | Method and Description |
|---|---|
CameraMetrics |
diff(CameraMetrics b,
CameraMetrics output)
Subtract the object passed in from the current object.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
CameraMetrics |
set(CameraMetrics 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.
|
CameraMetrics |
sum(CameraMetrics b,
CameraMetrics output)
Add values from the SystemMetrics object passed in and sets them on the output object, if
available.
|
java.lang.String |
toString() |
diff, sumpublic long cameraPreviewTimeMs
public long cameraOpenTimeMs
public CameraMetrics sum(CameraMetrics b, CameraMetrics output)
SystemMetricsFor convenience, this function accepts null values and will allocate an output object if none is passed in.
sum in class SystemMetrics<CameraMetrics>public CameraMetrics diff(CameraMetrics b, CameraMetrics output)
SystemMetricsFor convenience, this function accepts null values and will allocate an output object if none is passed in.
diff in class SystemMetrics<CameraMetrics>public CameraMetrics set(CameraMetrics b)
SystemMetricsset in class SystemMetrics<CameraMetrics>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object