Package-level declarations
Types
Link copied to clipboard
class CallbackRegistration<T : Any>(var callbackGroup: Any, var eventType: EventType<T>, var callback: EventCallback<T>)
Represents a registration of a callback for a specific event type. This class encapsulates the information needed to register and subscribe a callback. Callbacks are grouped for easier management, such as unregistering multiple related callbacks at once.
Link copied to clipboard
Represents a callback for catching events data.
Link copied to clipboard
class EventDispatcher(onRemoveSubscriptionEntry: (removedSubscriptions: Map<EventDispatcher.SubscriptionModule, List<String>>) -> Unit)
Implements a list of registered event callbacks.
Link copied to clipboard
Holds essential information about a single event registration.
Link copied to clipboard
sealed class EventType<T : Any>(val eventName: String, var channelName: String?, val libEventType: EventType?, val eventSelectorType: EventSelectorType?, val eventSelectorId: String?, val eventResultClass: KClass<T>)
Defines the structure to register PrivMX Bridge event callbacks using PrivmxEndpoint.registerCallback.