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 Rectroiprivate PathLoadModeloadModeprivate EncryptionModeencryptionMode
-
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 RectgetRoi()Region of interest. final UnitsetRoi(Rect roi)Region of interest. final PathLoadModegetLoadMode()Load mode. final UnitsetLoadMode(PathLoadMode loadMode)Load mode. final EncryptionModegetEncryptionMode()Encryption mode. final UnitsetEncryptionMode(EncryptionMode encryptionMode)Encryption mode. final JSONObjecttoJson(ToJsonConfiguration config)final PathImageLoadOptionsclone()final static PathImageLoadOptionsdefault()-
-
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()
-
-
-
-