Enum WritePolicy
Controls how the library saves data.
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public enum WritePolicy : int
Fields
Name | Description |
---|---|
FORCE_LOCAL | Executes the request from the cache every single time. |
FORCE_NETWORK | Executes the request online every single time. |
LOCAL_THEN_NETWORK | Writes in the local cache first and then try to write trought the network (backend). |
NETWORK_THEN_LOCAL | Attempts to get the response from the cache, if it's not present attempts to execute online. If online is successful, the response will cached. |