Class KinveyDelegate<T>
The Kinvey Delegate class is used for the callback pattern when executing requests asynchronously. All Async* methods will take one as a parameter.
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyDelegate<T> : object
Type Parameters
Name | Description |
---|---|
T | The type of Kinvey delegate. |
Fields
| Improve this Doc View SourceonError
This Action is executed when an error occurs, either on the device itself, or returned from the service.
Declaration
public Action<Exception> onError
Field Value
Type | Description |
---|---|
Action<Exception> | The action having the Exception type as the parameter. |
onSuccess
This Action is executed when an asynchronously operation completes successfully. T represents the expected response type.
Declaration
public Action<T> onSuccess
Field Value
Type | Description |
---|---|
Action<T> | The action having the type of Kinvey delegate as the parameter. |