get
This method can be used to get the current value for the specified key from the realtime store.
Code Example:
meeting.realtimeStore.get("poll_active", object : RealtimeStoreCallback<String> {
override fun onSuccess(value: String) {
Log.d("Store", "Value: " + value)
}
override fun onError(error: String) {
Log.e("Store", "Error: " + error)
}
})
Content copied to clipboard
Parameters
key
the key to look up
callback
the RealtimeStoreCallback to receive the value or error