Skip to main content

IntType

An integer value paired with an OCR confidence score.

Package: com.microblink.core

Declaration

class IntType : Parcelable

Constructors:

IntType(value: Int) // confidence = 100
IntType(value: Int, confidence: Float)

Quick Reference​

Properties​

PropertyDescription
value()The integer value
confidence()OCR or parsing confidence score
toBigDecimal()Non-null BigDecimal representation

Properties​

value()​

fun value(): Int

The integer value.


confidence()​

fun confidence(): Float

OCR or parsing confidence score. 100 when created with the one-argument constructor.


toBigDecimal()​

fun toBigDecimal(): BigDecimal

Non-null BigDecimal representation.