//Granify Android SDK/com.granifyinc.granifysdk/Granify/showCampaign

showCampaign

[androidJvm]\

@JvmStatic

fun showCampaign(campaignId: String)

Requests that Granify show the specified campaign (or message) within this session.

Once requested, the campaign matching campaignId will be shown at the next available opportunity. As campaigns are designed with various limitations around their presentation (e.g. only showing on a product page), the campaign may not appear immediately after this call is made.

This method is not intended for regular use and should not be called during regular customer shopping sessions. It is a business review tool that grants the ability to see what a given Granify campaign will look like within your application. Granify strongly recommends creating an easy way for trusted users to trigger this function. This will simplify the previewing and testing of new campaigns as they become available.

The campaignId strings, used to request campaigns, can be obtained through your Account Manager.

Placement

This function can be called any time after activateGranify has been called.

Parameters

androidJvm

   
campaignId The id of the campaign to display.