Skip to content

//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/LockReconEventBus

LockReconEventBus

[androidJvm]\ object LockReconEventBus

A singleton object LockReconEventBus that serves as a centralized event bus for the GASmartAccessReaderDemo SDK using the GreenRobot EventBus library. This object abstracts the EventBus methods to provide consistent event registration, unregistration, and posting.

Functions

Name Summary
post [androidJvm]
fun post(event: Any)
Posts an event to the event bus, which will be delivered to registered subscribers.
register [androidJvm]
fun register(subscriber: Any)
Registers the specified subscriber to receive events.
unregister [androidJvm]
fun unregister(subscriber: Any)
Unregisters the specified subscriber so it no longer receives events.