CroppingAppearanceConfiguration

data class CroppingAppearanceConfiguration(var statusBarMode: StatusBarMode = StatusBarMode.LIGHT, var navigationBarMode: NavigationBarMode = NavigationBarMode.LIGHT, var topBarBackgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), var bottomBarBackgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), var orientationLockMode: OrientationLockMode = OrientationLockMode.NONE) : Parcelable

Configuration of the general appearance for the cropping screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(statusBarMode: StatusBarMode = StatusBarMode.LIGHT, navigationBarMode: NavigationBarMode = NavigationBarMode.LIGHT, topBarBackgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), bottomBarBackgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), orientationLockMode: OrientationLockMode = OrientationLockMode.NONE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The background color of the bottom bar.

Link copied to clipboard

Determines the visual mode used for the navigation bar icons. Android only.

Link copied to clipboard

Which mode to use when orientation should be locked to landscape or portrait.

Link copied to clipboard

Determines the visual mode used for the status bar icons.

Link copied to clipboard

The background color of the top bar. Only applicable when the visual mode is specified as 'SOLID', otherwise ignored.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject