Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface SupabaseRealtime.ChangeListener
Receives database changes.
Methods
public abstract void onChange(String type, Map<String, Object> record, Map<String, Object> oldRecord) | Called on the EDT for each change. |
Method details
onChange
public abstract void onChange(String type, Map<String, Object> record, Map<String, Object> oldRecord)Called on the EDT for each change.
Parameters
typeStringINSERT,UPDATEorDELETErecordMap<String, Object>- the new row, empty for a delete
oldRecordMap<String, Object>- the old row’s key columns (all columns with replica identity full), empty for an insert