获取bt蓝牙名称
-
功能表:getBtAddrV2
示例
Swift
Cmds.getBtName().send { rs in
if case .success(let obj) = rs {
// 成功
// obj is String
}else {
// 失败
}
}
Kotlin
Cmds.getBtName().send {
if (it.error.code == 0) {
// 成功
// it.res is String
}else {
// 失败
}
}