RealtimeStore

inner class RealtimeStore

Provides a shared key-value store for real-time data synchronization across participants.

Functions

Link copied to clipboard
fun get(key: String, callback: RealtimeStoreCallback<String>)
This method can be used to get the current value for the specified key from the realtime store.
Link copied to clipboard
fun observe(key: String, listener: RealtimeStoreListener)
This method can be used to observe changes to a specific key in the realtime store.
Link copied to clipboard
fun set(key: String, value: String, callback: RealtimeStoreCallback<String>)
This method can be used to set a value for the specified key in the realtime store.
Link copied to clipboard
This method can be used to stop observing changes to a specific key in the realtime store.