Closed hjoshi123 closed 5 years ago
Yup, you'll need to fork and likely add a public field to the Salut
instance though. It depends on how you want to access the information.
Perhaps add a field called currentGroup
and set it to the group
object passed into the onGroupInfoAvailable callback.
Then you can use currentGroup.getNetworkName()
and other functions as described [here](https://developer.android.com/reference/android/net/wifi/p2p/WifiP2pGroup.html#getNetworkName()).
Hey I got another error.. I am working on kotlin.. I am receiving the following error.. @incognitorobito
Could you check this out?
Can I get info of the WiFi P2p group created which includes SSID and passphrase?