Learn how to evaluate and integrate the VNC SDK
DataStore.Callback¶
-
class DataStore.Callback¶ Callback providing custom storage of data used by the SDK.
For more information, see
vnc_DataStore_Callback()in the C API documentation.
Nested classes¶
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new Callback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
void |
Handles the Put event. By default, calls the Put delegate. |
DataBuffer |
Handles the Get event. By default, calls the Get delegate. |
Constructors¶
-
DataStore.Callback(DataStore.Callback.PutType a, DataStore.Callback.GetType b)¶ Initializes a new Callback class instance.
For more information, see
vnc_DataStore_Callback()in the C API documentation.
Methods¶
-
void
DataStore.Callback.OnPut(String a, ImmutableDataBuffer b)¶ Handles the Put event. By default, calls the Put delegate.
-
DataBuffer
DataStore.Callback.OnGet(String a)¶ Handles the Get event. By default, calls the Get delegate.
Fields¶
-
DataStore.Callback.Put¶ Requests storing data in your custom data store.
For more information, see
vnc_DataStore_Callback::putin the C API documentation.
-
DataStore.Callback.Get¶ Requests data stored in your custom data store.
For more information, see
vnc_DataStore_Callback::getin the C API documentation.