StillCaptureLatency
class StillCaptureLatency
kotlin.Any | |
↳ | android.hardware.camera2.CameraExtensionSession.StillCaptureLatency |
Realtime calculated still capture
latency.
Summary
Public constructors | |
---|---|
StillCaptureLatency(captureLatency: Long, processingLatency: Long) |
Public methods | |
---|---|
Boolean | |
Long |
Return the capture latency from |
Long |
Return the estimated post-processing latency from |
Int |
hashCode() |
String |
toString() |
Public constructors
StillCaptureLatency
StillCaptureLatency(
captureLatency: Long,
processingLatency: Long)
Public methods
equals
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getCaptureLatency
fun getCaptureLatency(): Long
Return the capture latency from ExtensionCaptureCallback#onCaptureStarted
until ExtensionCaptureCallback#onCaptureProcessStarted
.
Return | |
---|---|
Long |
The realtime capture latency in milliseconds. |
getProcessingLatency
fun getProcessingLatency(): Long
Return the estimated post-processing latency from ExtensionCaptureCallback#onCaptureProcessStarted
until the processed frame returns to the client.
Return | |
---|---|
Long |
returns post-processing latency in milliseconds |
toString
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |