All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.seiko.imageloader.cache.CachePolicy.kt Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
package com.seiko.imageloader.cache

/**
 * Represents the read/write policy for a cache source.
 */
enum class CachePolicy(
    val readEnabled: Boolean,
    val writeEnabled: Boolean,
) {
    ENABLED(true, true),
    READ_ONLY(true, false),
    WRITE_ONLY(false, true),
    DISABLED(false, false),
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy