Android WifiP2p - Get notified when a discovered device goes unavailable

ぐ巨炮叔叔 提交于 2019-12-04 08:35:15
Malungo

Have a look at this post

in sum: peers who go out of the range will be automatically delete in the peers list after some time - this could belong until 1 minute. I test it with an s4 and s5 mini device. s5 mini discovered the s4 device - when i turned off wifi on the s4 device it took about 20 seconds, then the s5 mini device broadcastes a PEERS_CHANGED Action an the s4 didn't appera any longer in the devicelist...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!