Wi-Fi直连集团所有者意向 [英] Wifi Direct Group Owner Intention
本文介绍了Wi-Fi直连集团所有者意向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人能解释我如何安卓执行组业主协商?
尤其是如何执行的Android GO请求/应答交换?
谢谢!
Can someone explain me how android performs Group Owner Negotiation? In particular how does android perform GO request/reply exchange? Thanks!
推荐答案
您可以决定谁该行code变得组所有者:
You can decide who becomes group owner by this line of code :
config.groupOwnerIntent = x;
其中x是从0到15 0再presenting至少打算成为业主,而15重新presents最高的。
Where x is from 0 to 15. 0 representing least intention to become owner while 15 represents the highest.
<一个href=\"http://developer.android.com/reference/android/net/wifi/p2p/WifiP2pConfig.html#groupOwnerIntent\"相对=nofollow>参考
这篇关于Wi-Fi直连集团所有者意向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文