Package io.scanbot.sdk.entity
Enum DocumentType
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum DocumentType extends Enum<DocumentType>
Document types supported by DocumentClassifier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DocumentType.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ACADEMIA
ACCOUNTING
APPLICATION
BUSINESS_CARD
CASE_FILE
CERTIFICATE
CONFIRMATION
CONTRACT
DELIVERY_NOTE
DISCOUNT
FORM
HEALTH
HOME
INFO
INVOICE
MANUAL
OFFER
ORDER
PAYMENT_REMINDER
PAY_SLIP
POLICY
POWER_OFF_ATTORNEY
PRESS_RELEASE
RECEIPT
REPORT
STATEMENT
STUDIES
TAC
TAX
TERMINATION
TICKET
UNKNOWN
WILL
-
Method Summary
Modifier and Type Method Description final String
getDisplayName(Context context)
final DocumentType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<DocumentType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final String
getMimeType()
-
-
Method Detail
-
getDisplayName
final String getDisplayName(Context context)
-
valueOf
final DocumentType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<DocumentType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getMimeType
final String getMimeType()
-
-
-
-