public interface Switch
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOn(int index)
check switch whether on
|
void |
turnOff(int index)
api for user to turn off a feature
|
void |
turnOn(int index)
api for user to turn on a feature
|
void turnOn(int index)
index - the switch index of featurevoid turnOff(int index)
index - the switch index of featureboolean isOn(int index)
index - the switch index of featureCopyright © 2024. All rights reserved.