inappmessaging / com.rakuten.tech.mobile.inappmessaging.runtime / InAppMessaging / closeMessage

closeMessage

abstract fun closeMessage(clearQueuedCampaigns: Boolean= false):Unit

Close the currently displayed message. This should be called when app needs to force-close the displayed message without user action. Calling this method will not increment the campaign impression.

Parameters

clearQueuedCampaigns - An optional parameter, when set to true (false by default), will additionally remove all campaigns that were queued to be displayed.