ByInstanceId

data class ByInstanceId(val instanceIds: List<String>) : AirshipEmbeddedSelection(source)

Display the first of these AirshipEmbeddedInfo.instanceIds that is pending, bypassing ordering.

An explicit order of preference, not a set: the earliest entry that is currently pending wins, and the placeholder shows while none of them are.

This is an allow-list. Pending content not named here is excluded entirely rather than ordered last, so newly pending content won't display until the app includes it.

Carries no closure, unlike ByComparator, so it survives a bridge to a wrapper SDK — an app that wants ordering it computes itself can observe the pending set, work out the order, and hand back the IDs.

Parameters

instanceIds

the AirshipEmbeddedInfo.instanceIds to display, most preferred first.

Constructors

Link copied to clipboard
constructor(instanceIds: List<String>)
constructor(instanceId: String)

Targets a single instance.

Properties

Link copied to clipboard