Package 

Interface CustomTemplatePresenter

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onPresent(C context) Called when a CustomTemplate should be presented or a function should be executed.
      • Methods inherited from class java.lang.Object

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

      • onPresent

         abstract Unit onPresent(C context)

        Called when a CustomTemplate should be presented or a function should be executed. For visual templates (code templates or functions with CustomTemplate.isVisual= true): Implementing classes should use the provided CustomTemplateContext methods setPresented and setDismissed to notify the SDK of the state of the template invocation. Only one visual template or other InApp message can be displayed at a time by the SDK and no new messages can be shown until the current one is dismissed.