跳到主要内容

Device.SetCellularDataEnable 蜂窝网络开关

🎯功能​

流量网络开关

📜语法​

结果 = Device.SetCellularDataEnable(开关)

📥参数​

参数数据类型解释
开关布尔型打开为true, 关闭为false

📤返回​

无

💡示例​

Device.SetCellularDataEnable(true)

📘备注​

  • iOS版/安卓3.3.8版及更高版本支持