displayMessage

Renders inAppMessage, reporting what happens to it through callbacks: the impression, a click on one of its actions, its dismissal, or the error that kept it from being displayed. Until one of those is reported the SDK considers the message on screen and displays no other.