CameraUtils

open class CameraUtils

based on https://github.com/doo/cwac-camera/blob/master/camera/src/main/java/com/commonsware/cwac/camera/CameraUtils.java

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun getBestAspectPreviewSize(displayOrientation: Int, width: Int, height: Int, parameters: Camera.Parameters): Camera.Size
open fun getBestAspectPreviewSize(displayOrientation: Int, width: Int, height: Int, parameters: Camera.Parameters, closeEnough: Double): Camera.Size
Link copied to clipboard
open fun getOptimalPreviewSize(displayOrientation: Int, width: Int, height: Int, parameters: Camera.Parameters): Camera.Size
Link copied to clipboard