Package com.my.target.common.listeners
Class HtmlCustomEventListener
-
- All Implemented Interfaces:
public abstract class HtmlCustomEventListenerClass for handling custom events from HTML5 interactive
-
-
Constructor Summary
Constructors Constructor Description HtmlCustomEventListener()
-
Method Summary
Modifier and Type Method Description abstract voidonCustomEvent(@NonNull() String type, @Nullable() String payload)Called, when bridge is notified about custom event, that for e. -
-
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 valuepayload- Nullable data, that is specific for event and is helpful for event handling
-
-
-
-