Show Camera Params
data class ShowCameraParams(val disableErrors: Boolean = DISABLE_ERRORS_DEFAULT, val recordVideo: Boolean = RECORD_VIDEO_DEFAULT, val videoQuality: TextureMovieEncoder.VideoQuality = VideoQuality.LOW, val recordingTimeMillis: Long = 0, val ignoreVideoWithoutFace: Boolean = IGNORE_VIDEO_WITHOUT_FACE_DEFAULT, val logToFile: Boolean = LOG_TO_FILE_DEFAULT, val borderDistanceStrategy: InitBorderDistancesStrategy = InitBorderDistancesStrategy.Default, val statusBarColorHex: Int = Color.BLACK) : Parcelable
Parameters
disable Errors
disable default error messages
ignore Video Without Face
when true CameraUIDelegate.bestShot will return null in videoPath if there were no faces detected during session when false - path to every video will be returned even without faces
Constructors
Link copied to clipboard
constructor(disableErrors: Boolean = DISABLE_ERRORS_DEFAULT, recordVideo: Boolean = RECORD_VIDEO_DEFAULT, videoQuality: TextureMovieEncoder.VideoQuality = VideoQuality.LOW, recordingTimeMillis: Long = 0, ignoreVideoWithoutFace: Boolean = IGNORE_VIDEO_WITHOUT_FACE_DEFAULT, logToFile: Boolean = LOG_TO_FILE_DEFAULT, borderDistanceStrategy: InitBorderDistancesStrategy = InitBorderDistancesStrategy.Default, statusBarColorHex: Int = Color.BLACK)