Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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

DataStore.Callback(DataStore.Callback.PutType, DataStore.Callback.GetType)

Initializes a new Callback class instance.

Method summary

Modifier and Type Method and Description
void

DataStore.Callback.OnPut(String, ImmutableDataBuffer)

Handles the Put event. By default, calls the Put delegate.

DataBuffer

DataStore.Callback.OnGet(String)

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::put in the C API documentation.

DataStore.Callback.Get

Requests data stored in your custom data store.

For more information, see vnc_DataStore_Callback::get in the C API documentation.

×