data class LegacyImage
Data class to wrap frame data generated from preview frame listener for Camera1.
data
- preview frame data ByteArray
format
- image format of preview frame android.graphics.ImageFormat. Usually this would be android.graphics.ImageFormat.NV21
LegacyImage(data: ByteArray, width: Int, height: Int, format: Int)
Data class to wrap frame data generated from preview frame listener for Camera1. |
val data: ByteArray
preview frame data ByteArray |
|
val format: Int
image format of preview frame android.graphics.ImageFormat. Usually this would be android.graphics.ImageFormat.NV21 |
|
val height: Int
of the preview frame |
|
val width: Int
of the preview frame |
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |