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>imageRefProfilesprivate LongtotalMemoryConsumption
-
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 UnitsetImageRefProfiles(List<ImageRefProfile> imageRefProfiles)Detailed profiles of all alive ImageRefs. final LonggetTotalMemoryConsumption()Estimation of total memory consumption of ImageRefs. final UnitsetTotalMemoryConsumption(Long totalMemoryConsumption)Estimation of total memory consumption of ImageRefs. final JSONObjecttoJson(ToJsonConfiguration config)final ImageRefPoolSnapshotclone()-
-
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()
-
-
-
-