Class SnapshotResult
SnapshotResult provides access to the data of a record or any errors while retrieving it via client.record.snapshot(name)
.
Methods
JsonElement getData()
Returns the record data.
DeepstreamError getData()
Returns any errors while retrieving the record data.
boolean hasError()
Returns a boolean indicating whether or not there was an error retrieving the record data.