Package 

Interface Batch.Messaging.InAppInterceptor


  • 
    public interface Batch.Messaging.InAppInterceptor
    
                        

    Interface to intercept In-App Messages before they are displayed.

    This interface can be used to cancel the automatic display of a messageand allow manual handling. It is called when the SDK is about todisplay an In-App message.

    • Method Summary

      Modifier and Type Method Description
      abstract boolean onBatchInAppMessageReady(@NonNull() BatchInAppMessage message) Called when an In-App Message is about to be displayed, giving a chance to cancel it andhandle it manually.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onBatchInAppMessageReady

         abstract boolean onBatchInAppMessageReady(@NonNull() BatchInAppMessage message)

        Called when an In-App Message is about to be displayed, giving a chance to cancel it andhandle it manually.

        This method can be called from any thread.

        Parameters:
        message - The In-App message about to be displayed