Package 

Interface InAppMessageListener


  • 
    public interface InAppMessageListener
    
                        

    Listener interface to be notified of in app messaging events. Use to register your listener.

    This works as follows

    • InAppMessageListener.onMessageTrigger is called before the message is rendered. The method is called repeatedly for a message if it needs to be re-rendered during activity transitions

    • InAppMessageListener.onMessageClick is called when a message with a configured action is clicked. If the clicked message does not have a configured action, it is dismissed and InAppMessageListener.onMessageDismiss is invoked

    • Called when the message is dismissed either automatically after a timeout or by the user or when a clicked message has no associated action

    • InAppMessageListener.onError is called when any part faces an error. the error then is reported through ErrorMessageReason enum to indicate it's type. if there is additional data (like message ID) is provided it'll reported as a nullable String message.