Package com.surrealdb
Class LiveNotification
java.lang.Object
com.surrealdb.LiveNotification
A single notification from a live query (CREATE, UPDATE, or DELETE).
-
Constructor Summary
ConstructorsConstructorDescriptionLiveNotification(String action, long valuePtr, String queryId) Called from native code only. -
Method Summary
-
Constructor Details
-
LiveNotification
-
-
Method Details
-
getAction
The action that caused this notification: "CREATE", "UPDATE", or "DELETE". -
getValue
The record value (content) for this notification. May be null when the notification does not include record content (e.g. some server events).- Returns:
- the record value, or null
-
getQueryId
The live query UUID this notification belongs to.
-