Class KinveyDataStoreDelegate<T>
Kinvey data store delegate class is used for the callback pattern when executing requests asynchronously.
Inheritance
System.Object
KinveyDataStoreDelegate<T>
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyDataStoreDelegate<T> : object
Type Parameters
Name | Description |
---|---|
T | The type of the delegate. |
Fields
| Improve this Doc View SourceOnError
This action is executed when an exception occurs. This can be either on the device, or returned from the realtime service.
Declaration
public Action<Exception> OnError
Field Value
Type | Description |
---|---|
Action<Exception> | The action having the Exception type as the parameter. |
OnNext
This action is executed when there is a new or updated entity available from the realtime service.
Declaration
public Action<T> OnNext
Field Value
Type | Description |
---|---|
Action<T> | The action having the type of the delegate as the parameter. |
OnStatus
This action is executed when there is a connection status message available from the realtime service.
Declaration
public Action<KinveyRealtimeStatus> OnStatus
Field Value
Type | Description |
---|---|
Action<KinveyRealtimeStatus> | The action having the KinveyRealtimeStatus type as the parameter. |