Class HtmlCustomEventListener

  • All Implemented Interfaces:

    
    public abstract class HtmlCustomEventListener
    
                        

    Class for handling custom events from HTML5 interactive

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onCustomEvent(@NonNull() String type, @Nullable() String payload) Called, when bridge is notified about custom event, that for e.
      • Methods inherited from class java.lang.Object

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

      • HtmlCustomEventListener

        HtmlCustomEventListener()
    • Method Detail

      • onCustomEvent

         abstract void onCustomEvent(@NonNull() String type, @Nullable() String payload)

        Called, when bridge is notified about custom event, that for e.g is specific for interactive

        Parameters:
        type - String representation of type, could contain any String value
        payload - Nullable data, that is specific for event and is helpful for event handling