Package io.scanbot.sdk.core
Class ImageRefPoolSnapshot
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ImageRefPoolSnapshot implements Parcelable
Snapshot of all alive ImageRefs.
-
-
Field Summary
Fields Modifier and Type Field Description private List<ImageRefProfile>
imageRefProfiles
private Long
totalMemoryConsumption
-
Constructor Summary
Constructors Constructor Description ImageRefPoolSnapshot(Map<String, Object> source)
ImageRefPoolSnapshot(JSONObject json)
ImageRefPoolSnapshot(List<ImageRefProfile> imageRefProfiles, Long totalMemoryConsumption)
-
Method Summary
Modifier and Type Method Description final List<ImageRefProfile>
getImageRefProfiles()
Detailed profiles of all alive ImageRefs. final Unit
setImageRefProfiles(List<ImageRefProfile> imageRefProfiles)
Detailed profiles of all alive ImageRefs. final Long
getTotalMemoryConsumption()
Estimation of total memory consumption of ImageRefs. final Unit
setTotalMemoryConsumption(Long totalMemoryConsumption)
Estimation of total memory consumption of ImageRefs. final JSONObject
toJson(ToJsonConfiguration config)
final ImageRefPoolSnapshot
clone()
-
-
-
Constructor Detail
-
ImageRefPoolSnapshot
ImageRefPoolSnapshot(JSONObject json)
-
ImageRefPoolSnapshot
ImageRefPoolSnapshot(List<ImageRefProfile> imageRefProfiles, Long totalMemoryConsumption)
-
-
Method Detail
-
getImageRefProfiles
final List<ImageRefProfile> getImageRefProfiles()
Detailed profiles of all alive ImageRefs.
-
setImageRefProfiles
final Unit setImageRefProfiles(List<ImageRefProfile> imageRefProfiles)
Detailed profiles of all alive ImageRefs.
-
getTotalMemoryConsumption
final Long getTotalMemoryConsumption()
Estimation of total memory consumption of ImageRefs.
Default is 0
-
setTotalMemoryConsumption
final Unit setTotalMemoryConsumption(Long totalMemoryConsumption)
Estimation of total memory consumption of ImageRefs.
Default is 0
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ImageRefPoolSnapshot clone()
-
-