Package io.scanbot.sdk.core
Class PathImageLoadOptions
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PathImageLoadOptions implements Parcelable
Options for loading image from path.
-
-
Field Summary
Fields Modifier and Type Field Description private Rect
roi
private PathLoadMode
loadMode
private EncryptionMode
encryptionMode
-
Constructor Summary
Constructors Constructor Description PathImageLoadOptions(Map<String, Object> source)
PathImageLoadOptions(JSONObject json)
PathImageLoadOptions(Rect roi, PathLoadMode loadMode, EncryptionMode encryptionMode)
-
Method Summary
Modifier and Type Method Description final Rect
getRoi()
Region of interest. final Unit
setRoi(Rect roi)
Region of interest. final PathLoadMode
getLoadMode()
Load mode. final Unit
setLoadMode(PathLoadMode loadMode)
Load mode. final EncryptionMode
getEncryptionMode()
Encryption mode. final Unit
setEncryptionMode(EncryptionMode encryptionMode)
Encryption mode. final JSONObject
toJson(ToJsonConfiguration config)
final PathImageLoadOptions
clone()
final static PathImageLoadOptions
default()
-
-
-
Constructor Detail
-
PathImageLoadOptions
PathImageLoadOptions(JSONObject json)
-
PathImageLoadOptions
PathImageLoadOptions(Rect roi, PathLoadMode loadMode, EncryptionMode encryptionMode)
-
-
Method Detail
-
getLoadMode
final PathLoadMode getLoadMode()
Load mode.
Default is EAGER
-
setLoadMode
final Unit setLoadMode(PathLoadMode loadMode)
Load mode.
Default is EAGER
-
getEncryptionMode
final EncryptionMode getEncryptionMode()
Encryption mode.
Default is IF_AVAILABLE
-
setEncryptionMode
final Unit setEncryptionMode(EncryptionMode encryptionMode)
Encryption mode.
Default is IF_AVAILABLE
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final PathImageLoadOptions clone()
-
default
final static PathImageLoadOptions default()
-
-