RealtimeStoreCallback

Callback interface for asynchronous RealtimeStore operations.

Provides success and error callbacks for operations such as setting, getting, or removing values from the meeting's RealtimeStore.

Code Example:


meeting.realtimeStore.set("score", "42", new RealtimeStoreCallback<String>() {
    
    public void onSuccess(String result) {
        Log.d("Store", "Value set: " + result);
    }

    
    public void onError(String error) {
        Log.e("Store", "Error: " + error);
    }
});

Parameters

<T>

The type of the success result.

Functions

Link copied to clipboard
abstract fun onError(error: String)
Called when the operation fails.
Link copied to clipboard
abstract fun onSuccess(result: T)
Called when the operation succeeds.