public class TrafficButtonView
extends ImageView
限定符和类型 | 方法和说明 |
---|---|
boolean |
getIsTrafficOpen()
获取当前交通开关是否打开
|
void |
processNightMode(boolean isNight)
切换昼夜模式
|
void |
recycleResource()
资源回收
|
void |
setIsTrafficOpen(boolean isTrafficOpen)
设置交通开关状态。
|
public boolean getIsTrafficOpen()
public void setIsTrafficOpen(boolean isTrafficOpen)
isTrafficOpen
- true代表打开,false代表关闭public void recycleResource()
public void processNightMode(boolean isNight)
isNight
-