@RequiresPermission("android.permission.BLUETOOTH")
public String SetupPlugin() {
// Bluetooth Adapter
this.mBtAdapter = BluetoothAdapter.getDefaultAdapter();
// if Bluettoth Adapter is avaibale, start Service
if(this.mBtAdapter == null) {
return "Bluetooth is not available";
} else {
if(this.mBtService == null) {
this.startService();
}
return "SUCCESS";
}
}
BluetoothPlugin.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:UnityBluetoothPlugin
作者:
评论列表
文章目录