VizbeeEventManager

class VizbeeEventManager(val mDeviceController: DeviceController?)

The manager class that facilitates the sending of events and provides functionality to register and unregister for events.

Constructors

Link copied to clipboard
constructor(mDeviceController: DeviceController?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun onEvent(event: VizbeeEvent)

Receives an event and forwards it to the right handler

Link copied to clipboard
fun registerForEvent(eventName: String, vizbeeEventHandler: VizbeeEventHandler)

Registers a handler for an event name.

Link copied to clipboard
Link copied to clipboard
fun unregisterForEvent(eventName: String, vizbeeEventHandler: VizbeeEventHandler)

Unregisters a handler for an event name.