chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.runtime / RemoteObject

RemoteObject

data class RemoteObject

Mirror object referencing original JavaScript object.

Official doc

Constructors

<init>

Mirror object referencing original JavaScript object.

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

Properties

className

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

val className: String?

customPreview

val customPreview: CustomPreview?

description

String representation of the object.

val description: String?

objectId

Unique object identifier (for non-primitive values).

val objectId: RemoteObjectId?

preview

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

val preview: ObjectPreview?

subtype

Object subtype hint. Specified for object or wasm type values only.

val subtype: String?

type

Object type.

val type: String

unserializableValue

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

val unserializableValue: UnserializableValue?

value

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

val value: JsonElement?