public abstract class KongregateEventBundleListener
extends java.lang.Object
Interface to be notified of Kongregate events along with an optional data bundle. All events will be posted to the UI thread.
Constructor and Description |
---|
KongregateEventBundleListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onKongregateEventBundle(java.lang.String eventName,
java.lang.String eventJSON)
Called when a Kongregate API event is broadcast
|
public abstract void onKongregateEventBundle(java.lang.String eventName, java.lang.String eventJSON)
Called when a Kongregate API event is broadcast
eventName
- The name of the event, from KongregateEvent
eventJSON
- The JSON data payload for the event or null if no data is included with the event.