Created
October 11, 2018 18:32
-
-
Save owahltinez/efec3ffa29e3de108509be281b599a3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val characteristics: CameraCharacteristics = ... | |
val outputFormat: Int = ... // e.g. ImageFormat.JPEG | |
val sizes = characteristics.get( | |
CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP) | |
.getOutputSizes(outputFormat) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment