0

I have seen this hidden API used in android source called setWifiApConfiguration() to set up a AP. I have see couple of answers on SO using addNetwork() and then enableNetwork() (For ex: this). So what's the difference between the two methods?

Community
  • 1
  • 1
Pervy Sage
  • 841
  • 1
  • 10
  • 22

1 Answers1

0

setWifiApConfiguration() is a HotSpot or Wi-Fi tethering API, where as addNetwork() and enableNetwork() are regular Wi-Fi operation APIs

vishalm
  • 477
  • 5
  • 12