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 classDocumentType.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ACADEMIAACCOUNTINGAPPLICATIONBUSINESS_CARDCASE_FILECERTIFICATECONFIRMATIONCONTRACTDELIVERY_NOTEDISCOUNTFORMHEALTHHOMEINFOINVOICEMANUALOFFERORDERPAYMENT_REMINDERPAY_SLIPPOLICYPOWER_OFF_ATTORNEYPRESS_RELEASERECEIPTREPORTSTATEMENTSTUDIESTACTAXTERMINATIONTICKETUNKNOWNWILL
-
Method Summary
Modifier and Type Method Description final StringgetDisplayName(Context context)final DocumentTypevalueOf(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 StringgetMimeType()-
-
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()
-
-
-
-