• Docs
Menu
  • Guides
  • Tutorials
  • Samples
  • Reference
  • Downloads
    • Xamarin SDK
    • Kinvey CLI
    • Business Logic CLI
    • Flex SDK
  • Xamarin
    • Change Platform
    • iOS
    • Android
    • NativeScript
    • HTML5
    • Angular
    • PhoneGap
    • Node.js
    • Xamarin
    • .NET
    • REST API
  • Explore Kinvey
    • Kinvey Homepage
    • Kinvey Backend Console
    • Kinvey Chat Portal
    • Kinvey Studio
  • Xamarin Reference /
  • API Reference

API Reference

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.

  • Improve this Doc
  • View Source
© Kinvey
Terms of Use Privacy Policy