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 RefCountedObjectProfile
refInfo
private ImageProfile
imageInfo
private ImageSource
imageSource
-
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 RefCountedObjectProfile
getRefInfo()
Information about the strong and serialized references to the image. final Unit
setRefInfo(RefCountedObjectProfile refInfo)
Information about the strong and serialized references to the image. final ImageProfile
getImageInfo()
Image-specific information, e.g. final Unit
setImageInfo(ImageProfile imageInfo)
Image-specific information, e.g. final ImageSource
getImageSource()
Description of source from which the ImageRef was created. final Unit
setImageSource(ImageSource imageSource)
Description of source from which the ImageRef was created. final JSONObject
toJson(ToJsonConfiguration config)
final ImageRefProfile
clone()
-
-
-
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()
-
-