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

com.didichuxing.doraemonkit.plugin.extension.CommExt.kt Maven / Gradle / Ivy

Go to download

DoKit is an efficiency platform for the entire life cycle of general front-end product research and development.

There is a newer version: 3.7.11
Show newest version
package com.didichuxing.doraemonkit.plugin.extension

/**
 * ================================================
 * 作    者:jint(金台)
 * 版    本:1.0
 * 创建日期:2020/4/28-14:56
 * 描    述:
 * 修订历史:
 * ================================================
 */
open class CommExt(
    var gpsSwitch: Boolean = true,
    var networkSwitch: Boolean = true,
    var bigImgSwitch: Boolean = true,
    var webViewSwitch: Boolean = true,
    var didinetSwitch: Boolean = true
) {

    fun gpsSwitch(gpsSwitch: Boolean) {
        this.gpsSwitch = gpsSwitch
    }

    fun networkSwitch(networkSwitch: Boolean) {
        this.networkSwitch = networkSwitch
    }

    fun didinetSwitch(didinetSwitch: Boolean) {
        this.didinetSwitch = didinetSwitch
    }


    fun bigImgSwitch(bigImgSwitch: Boolean) {
        this.bigImgSwitch = bigImgSwitch
    }

    fun webViewSwitch(webViewSwitch: Boolean) {
        this.webViewSwitch = webViewSwitch
    }

    override fun toString(): String {
        return "CommExt(gpsSwitch=$gpsSwitch, networkSwitch=$networkSwitch,didinetSwitch=$didinetSwitch, bigImgSwitch=$bigImgSwitch, webviewSwitch=$webViewSwitch)"
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy