CroppingResult

data class CroppingResult(val documentUuid: String, val pageUuid: String, val errorMessage: String? = null) : Parcelable

Configuration of the cropping result.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(documentUuid: String, pageUuid: String, errorMessage: String? = null)

Properties

Link copied to clipboard

The UUID of the document that was cropped.

Link copied to clipboard
val errorMessage: String? = null

The error message if a problem occurred.

Link copied to clipboard

The UUID of the page of the document that was cropped.

Functions

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