设备模块蜂窝网络是否启用(device.isCellularEnabled)本页总览蜂窝网络是否启用(device.isCellularEnabled) 函数 device.isCellularEnabled() 返回值 enabled 布尔型 已启用返回 true 否则返回 false 说明 用于判断当前的蜂窝网络是否启用 示例 if device.isCellularEnabled() then print("蜂窝网络已启用")else print("蜂窝网络未启用")end