# CameraHelper

open class CameraHelper

Created by pedro on 17/12/18.

## Constructors

CameraHelper
Link copied to clipboard
constructor()

## Types

Facing
Link copied to clipboard
enum Facing

## Properties

verticesData
Link copied to clipboard
val verticesData: Array<Float>

## Functions

discardCamera2Fps
Link copied to clipboard
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
open fun discardCamera2Fps(range: Range<Integer>, facing: CameraHelper.Facing): Boolean
Method to fix camera2 quality related with fps range.
getCameraOrientation
Link copied to clipboard
open fun getCameraOrientation(context: Context): Int
getFingerSpacing
Link copied to clipboard
open fun getFingerSpacing(event: MotionEvent): Float
isPortrait
Link copied to clipboard
open fun isPortrait(context: Context): Boolean