experienceShown

fun experienceShown(context: Context, campaign: ExperienceCampaign, workspaceId: String? = null)

Tracks the display of an experience campaign.

Since

1.0.0

Parameters

context

An instance of Context.

campaign

The data for the displayed experience campaign.

workspaceId

The optional workspace ID; if null, the default instance will be used.

Throws

if the SDK is not initialized for the given instance.