开发者

Does the ACTION_DISCOVERY_FINISHED still come if a call a cancelDiscovery()?

In my android application, I'm looking for a particular bluetooth device. When I found a bluetooth device, I c开发者_JAVA技巧heck if it's the one I'm looking for and if it is, I call cancelDiscovery();

My question is : If I cancel the discovery, will I still receive the ACTION_DISCOVERY_FINISHED broadcast or not ?

Thank you !


Yes, as soon as you cancel the discovery ACTION_DISCOVERY_FINISHED broadcast will receive it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜