Package io.scanbot.sdk.core
Class ImageRefProfile
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ImageRefProfile implements Parcelable
ImageRef profile which provides detailed information about stored object.
-
-
Field Summary
Fields Modifier and Type Field Description private RefCountedObjectProfilerefInfoprivate ImageProfileimageInfoprivate ImageSourceimageSource
-
Constructor Summary
Constructors Constructor Description ImageRefProfile(Map<String, Object> source)ImageRefProfile(JSONObject json)ImageRefProfile(RefCountedObjectProfile refInfo, ImageProfile imageInfo, ImageSource imageSource)
-
Method Summary
Modifier and Type Method Description final RefCountedObjectProfilegetRefInfo()Information about the strong and serialized references to the image. final UnitsetRefInfo(RefCountedObjectProfile refInfo)Information about the strong and serialized references to the image. final ImageProfilegetImageInfo()Image-specific information, e.g. final UnitsetImageInfo(ImageProfile imageInfo)Image-specific information, e.g. final ImageSourcegetImageSource()Description of source from which the ImageRef was created. final UnitsetImageSource(ImageSource imageSource)Description of source from which the ImageRef was created. final JSONObjecttoJson(ToJsonConfiguration config)final ImageRefProfileclone()-
-
Constructor Detail
-
ImageRefProfile
ImageRefProfile(JSONObject json)
-
ImageRefProfile
ImageRefProfile(RefCountedObjectProfile refInfo, ImageProfile imageInfo, ImageSource imageSource)
-
-
Method Detail
-
getRefInfo
final RefCountedObjectProfile getRefInfo()
Information about the strong and serialized references to the image.
-
setRefInfo
final Unit setRefInfo(RefCountedObjectProfile refInfo)
Information about the strong and serialized references to the image.
-
getImageInfo
final ImageProfile getImageInfo()
Image-specific information, e.g. memory consumption.
-
setImageInfo
final Unit setImageInfo(ImageProfile imageInfo)
Image-specific information, e.g. memory consumption.
-
getImageSource
final ImageSource getImageSource()
Description of source from which the ImageRef was created. Non-null only if detailed profiling has been previously enabled by a call to enableDetailedProfiling.
-
setImageSource
final Unit setImageSource(ImageSource imageSource)
Description of source from which the ImageRef was created. Non-null only if detailed profiling has been previously enabled by a call to enableDetailedProfiling.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ImageRefProfile clone()
-
-
-
-