다음을 통해 공유


CacheModes Enum

Definition

Enumerates values returned by several types.

public enum CacheModes
type CacheModes = 
Inheritance
CacheModes

Fields

Name Value Description
Default -1

Default cache usage mode.

Normal 0

Normal cache usage mode.

CacheElseNetwork 1

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

NoCache 2

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

CacheOnly 3

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

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