CaptureSettings

data class CaptureSettings(val analyzerSettings: AnalyzerSettings = AnalyzerSettings(), val uxSettings: UxSettings = UxSettings(), val cameraSettings: CameraSettings = CameraSettings(), val filterSettings: FilterSettings? = null, val strings: CaptureOverlayStrings = CaptureOverlayStrings(), @StyleRes val style: Int? = null, @StyleRes val activityTheme: Int? = null) : Parcelable

All available settings for the Capture process.

Constructors

Link copied to clipboard
constructor(analyzerSettings: AnalyzerSettings = AnalyzerSettings(), uxSettings: UxSettings = UxSettings(), cameraSettings: CameraSettings = CameraSettings(), filterSettings: FilterSettings? = null, strings: CaptureOverlayStrings = CaptureOverlayStrings(), @StyleRes style: Int? = null, @StyleRes activityTheme: Int? = null)

Properties

Link copied to clipboard
val activityTheme: Int? = null

Theme of the capture activity.

Link copied to clipboard

Settings for the capture analyser.

Link copied to clipboard

Camera configuration options.

Link copied to clipboard

Settings for the optional capture filter.

Link copied to clipboard

String customisation options for the capture screen.

Link copied to clipboard
val style: Int? = null

Style (theme) customisation options for the capture camera overlay. It is possible to change default resources like colors, drawables and text appearances. See style MB_capture_overlay_style in SDK resources for all available options. Here you should pass your own style resource. In your style, you define only attributes that should be changed, if some property is not defined, default one from MB_capture_overlay_style resource will be used.

Link copied to clipboard

Various UX settings.

Functions

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