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, sum
public long cameraPreviewTimeMs
public long cameraOpenTimeMs
public CameraMetrics sum(@Nullable CameraMetrics b, @Nullable CameraMetrics output)
SystemMetrics
sum
in class SystemMetrics<CameraMetrics>
public CameraMetrics diff(@Nullable CameraMetrics b, @Nullable CameraMetrics output)
SystemMetrics
diff
in class SystemMetrics<CameraMetrics>
public CameraMetrics set(CameraMetrics b)
SystemMetrics
set
in class SystemMetrics<CameraMetrics>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object