BluetoothConfigApi.js 319 B

12345678910111213141516
  1. if(typeof(plugin) == "undefined"){
  2. var plugin = {};
  3. }
  4. plugin.bluetoothConfig = {};
  5. /**
  6. * 打开蓝牙配置界面
  7. */
  8. plugin.bluetoothConfig.start = function (){
  9. if(typeof(BLUETOOTH_CONFIG) == "undefined"){
  10. alert("设备不支持蓝牙配置。");
  11. }else{
  12. BLUETOOTH_CONFIG.start();
  13. }
  14. }