pl.wendigo.chrome.api.runtime / RemoteObject

RemoteObject

data class RemoteObject (source)

Mirror object referencing original JavaScript object.

Link
Runtime#RemoteObject type documentation.

Constructors

<init>

RemoteObject(type: String, subtype: String? = null, className: String? = null, value: Any? = null, unserializableValue: UnserializableValue? = null, description: String? = null, objectId: RemoteObjectId? = null, preview: ObjectPreview? = null, customPreview: CustomPreview? = null)

Mirror object referencing original JavaScript object.

Properties

className

val className: String?

Object class (constructor) name. Specified for object type values only.

customPreview

val customPreview: CustomPreview?

description

val description: String?

String representation of the object.

objectId

val objectId: RemoteObjectId?

Unique object identifier (for non-primitive values).

preview

val preview: ObjectPreview?

Preview containing abbreviated property values. Specified for object type values only.

subtype

val subtype: String?

Object subtype hint. Specified for object type values only.

type

val type: String

Object type.

unserializableValue

val unserializableValue: UnserializableValue?

Primitive value which can not be JSON-stringified does not have value, but gets this property.

value

val value: Any?

Remote object value in case of primitive values or JSON values (if it was requested).