CroppingTextLocalization

data class CroppingTextLocalization(var cameraProgressOverlayTitle: String = "Please wait...", var croppingTopBarCancelButtonTitle: String = "Cancel", var croppingTopBarConfirmButtonTitle: String = "Done", var croppingDetectButtonTitle: String = "Detect", var croppingRotateButtonTitle: String = "Rotate", var croppingResetButtonTitle: String = "Reset", var croppingScreenTitle: String = "Crop", var accessibilityDescriptionCroppingTopBarConfirmButton: String = "Tap to apply changes", var accessibilityDescriptionCroppingTopBarCancelButton: String = "Tap to close screen without applying changes", var accessibilityDescriptionCroppingDetectButton: String = "Tap to detect document on the image", var accessibilityDescriptionCroppingRotateButton: String = "Tap to rotate document", var accessibilityDescriptionCroppingResetButton: String = "Tap to reset document contour to whole image") : Parcelable

Configuration of all the strings for the standalone cropping screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(cameraProgressOverlayTitle: String = "Please wait...", croppingTopBarCancelButtonTitle: String = "Cancel", croppingTopBarConfirmButtonTitle: String = "Done", croppingDetectButtonTitle: String = "Detect", croppingRotateButtonTitle: String = "Rotate", croppingResetButtonTitle: String = "Reset", croppingScreenTitle: String = "Crop", accessibilityDescriptionCroppingTopBarConfirmButton: String = "Tap to apply changes", accessibilityDescriptionCroppingTopBarCancelButton: String = "Tap to close screen without applying changes", accessibilityDescriptionCroppingDetectButton: String = "Tap to detect document on the image", accessibilityDescriptionCroppingRotateButton: String = "Tap to rotate document", accessibilityDescriptionCroppingResetButton: String = "Tap to reset document contour to whole image")

Types

Link copied to clipboard
object Companion

Properties

The accessibility hint for the 'detect document' button, located in the bottom bar of the cropping screen.

The accessibility hint for the 'reset detection' button, located in the bottom bar of the cropping screen.

The accessibility hint for the 'rotate page' button, located in the bottom bar of the cropping screen.

The accessibility hint for the 'cancel' button, located in the top bar of the cropping screen.

The accessibility hint for the 'confirm' button, located in the top bar of the cropping screen.

Link copied to clipboard

The cropping progress overlay title.

Link copied to clipboard

The 'detect document' button title, located in the bottom bar of the cropping screen.

Link copied to clipboard

The 'reset detection' button title, located in the bottom bar of the cropping screen.

Link copied to clipboard

The 'rotate page' button title, located in the bottom bar of the cropping screen.

Link copied to clipboard

The cropping screen title, located in the top bar.

Link copied to clipboard

The 'cancel' button title, located in the top bar of the cropping screen.

Link copied to clipboard

The 'confirm' button title, located in the top bar of the cropping screen.

Functions

Link copied to clipboard
Link copied to clipboard

Uses reflection to access all String fields of class and write field name and its value as a key-value pair into a map.

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