ShowCameraParams

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

disableErrors

disable default error messages

ignoreVideoWithoutFace

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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)