EventSender

interface EventSender

An interface that allows the host application to send events to a custom server. The events are represented as instances of the EventWithArgs class, which can contain any type of arguments. Implementations of this interface should handle the serialization and transmission of the events to the server.

Functions

Link copied to clipboard
abstract fun send(eventWithArgs: EventWithArgs<*>)

Delegate the given event with arguments to be able to send to the custom server.