shouldShowMessage

abstract fun shouldShowMessage(@NonNull message: InAppMessage): Boolean

This method will be called before a in app message is presented. You can return false to prevent the message from being displayed. You can later use showMessage to display the message if the message is still on the device and active.

Return

Return true to present the message. false will prevent the message from being displayed.

Parameters

message

The InAppMessage that will be displayed