Package io.scanbot.sdk.documentdata
Class DocumentDataExtractorCommonConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class DocumentDataExtractorCommonConfiguration extends DocumentDataExtractorConfigurationElement implements Parcelable
Convenience configuration element for enabling the scanning of multiple document types with a common configuration. Add to extractor configuration to enable the scanning of multiple document types.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private List<String>
acceptedDocumentTypes
-
Constructor Summary
Constructors Constructor Description DocumentDataExtractorCommonConfiguration(Map<String, Object> source)
DocumentDataExtractorCommonConfiguration(JSONObject json)
DocumentDataExtractorCommonConfiguration(List<String> acceptedDocumentTypes)
-
Method Summary
Modifier and Type Method Description String
get_type()
final List<String>
getAcceptedDocumentTypes()
List of document types to scan. final Unit
setAcceptedDocumentTypes(List<String> acceptedDocumentTypes)
List of document types to scan. JSONObject
toJson(ToJsonConfiguration config)
DocumentDataExtractorCommonConfiguration
clone()
-
-
Constructor Detail
-
DocumentDataExtractorCommonConfiguration
DocumentDataExtractorCommonConfiguration(Map<String, Object> source)
-
DocumentDataExtractorCommonConfiguration
DocumentDataExtractorCommonConfiguration(JSONObject json)
-
-
Method Detail
-
getAcceptedDocumentTypes
final List<String> getAcceptedDocumentTypes()
List of document types to scan. By default, the list is empty.
-
setAcceptedDocumentTypes
final Unit setAcceptedDocumentTypes(List<String> acceptedDocumentTypes)
List of document types to scan. By default, the list is empty.
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
-
-
-