gpt4 book ai didi

java - Android/Java 上BluetoothSocket 的timeout 参数是什么单位?

转载 作者:行者123 更新时间:2023-11-29 19:12:33 25 4
gpt4 key购买 nike

在Android/Java 上的BluetoothSocket 类中,有一个带有整数超时参数的accept 方法。文档没有说明超时参数的单位是什么:https://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html#accept(int)

方法说明是:

accept(int timeout)

有谁知道超时参数应该是什么单位?秒?毫秒?

最佳答案

关于java - Android/Java 上BluetoothSocket 的timeout 参数是什么单位?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44790027/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com