Enum ReadPolicy
Controls how the library fetches data.
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public enum ReadPolicy : int
Fields
Name | Description |
---|---|
BOTH | 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. |
FORCE_LOCAL | Executes the request from the cache every single time. |
FORCE_NETWORK | Executes the request online every single time. |
NETWORK_OTHERWISE_LOCAL | Tries to get the most recent data from the backend first, if it fails it returns data from the local cache. |