isMessageReadyToDisplay

abstract fun isMessageReadyToDisplay(message: InAppMessage, scheduleId: String): Boolean

Called to check if the message is ready to be displayed. This method will be called for every message that is pending display whenever a display condition changes. Use notifyDisplayConditionsChanged to notify whenever a condition changes to reevaluate the pending In-App messages.

Return

: true if the message is ready to display, false otherwise.

Parameters

message

: The message

scheduleId

: The schedule ID