查询bt配对开关、连接、a2dp连接、hfp连接状态(仅支持带bt蓝牙的设备)

功能表 : getBleAndBtVersion

示例

Swift

Cmds.getBtNotice().send { rs in
    if case .success(let obj) = rs {
        // 成功
        // obj is IDOBtNoticeModel
    }else {
        // 失败
    }
}

Kotlin

Cmds.getBtNotice().send {
    if (it.error.code == 0) {
        // 成功
        // it.res is IDOBtNoticeModel
    }else {
        // 失败
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-04-12 11:43:51

results matching ""

    No results matching ""