RefCountedObjectProfile

data class RefCountedObjectProfile(val uniqueId: String, val timestampCreated: Long, val strongReferences: Int = 0, val serializedReferences: Int = 0) : Parcelable

Profile info of a reference-counted stored object.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(uniqueId: String, timestampCreated: Long, strongReferences: Int = 0, serializedReferences: Int = 0)

Properties

Link copied to clipboard

Number of serialized references to the object. The serialized reference count increases when an ImageRef is written to JSON or a Parcel on Android and decrease when the respective JSON or Parcel is deserialized.

Link copied to clipboard

Number of strong references associated with the object. The strong reference count increases when a new instance of a platform ImageRef class is created from the object's unique ID and decreases when the ImageRef instance is destroyed.

Link copied to clipboard

Timestamp (milliseconds since the UNIX epoch), at which the object was first created.

Link copied to clipboard

Unique ID of the object.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject