EmbeddedSelectionSubject

data class EmbeddedSelectionSubject(val embeddedId: String = "", val pending: List<AirshipEmbeddedInfo> = emptyList(), val hints: Map<String, String> = emptyMap())(source)

What the app's context provider receives for an embedded-selection evaluation.

Parameters

embeddedId

The embedded ID being selected for.

pending

The candidates being ranked — the set the model is choosing between. A provider can inspect these to build context relevant to the actual choice.

hints

The layout's subject_hints, empty when the layout provides none.

Constructors

Link copied to clipboard
constructor(embeddedId: String = "", pending: List<AirshipEmbeddedInfo> = emptyList(), hints: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard