MessageQueryPolicy
public enum MessageQueryPolicy
Policy of Message Query
default
: If using local storage, it iscacheThenNetwork
. If not using local storage, it isonlyNetwork
.- onlyNetwork: Only query remote server
- onlyCache: Only query local storage
- cacheThenNetwork: Query local storage firstly, if not get result, then query remote server.
-
Undocumented
Declaration
Swift
case `default`
-
Undocumented
Declaration
Swift
case onlyNetwork
-
Undocumented
Declaration
Swift
case onlyCache
-
Undocumented
Declaration
Swift
case cacheThenNetwork