Freigeben über


CacheModes Enum

Definition

Enumerates values returned by several types.

public enum CacheModes
type CacheModes = 
Inheritance
CacheModes

Fields

CacheElseNetwork 1

Use cached resources when they are available, even if they have expired. Otherwise load resources from the network. Use with CacheMode.

CacheOnly 3

Don't use the network, load from the cache. Use with CacheMode.

Default -1

Default cache usage mode.

NoCache 2

Don't use the cache, load from the network. Use with CacheMode.

Normal 0

Normal cache usage mode.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to