getSwitch

abstract fun getSwitch(): Role

元素是一个开关,提供开/关两种状态。