pl.wendigo.chrome.api.runtime / CustomPreview

CustomPreview

data class CustomPreview (source)

Link
Runtime#CustomPreview type documentation.

Constructors

<init>

CustomPreview(header: String, bodyGetterId: RemoteObjectId? = null)

Properties

bodyGetterId

val bodyGetterId: RemoteObjectId?

If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.

header

val header: String

The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.