AVCachePolicy Constants Reference

Declared in AVConstants.h

AVCachePolicy

Cache policies

Constants

kAVCachePolicyIgnoreCache

Query from server and do not save result to the local cache.

Declared In AVConstants.h.

kAVCachePolicyCacheOnly

Only query from the local cache.

Declared In AVConstants.h.

kAVCachePolicyNetworkOnly

Only query from server, and save result to the local cache.

Declared In AVConstants.h.

kAVCachePolicyCacheElseNetwork

Firstly query from the local cache, if fails, query from server.

Declared In AVConstants.h.

kAVCachePolicyNetworkElseCache

Firstly query from server, if fails, query the local cache.

Declared In AVConstants.h.

kAVCachePolicyCacheThenNetwork

Firstly query from the local cache, return result. Then query from server, return result. The callback will be called twice.

Declared In AVConstants.h.

Declared In

AVConstants.h