Skip to main content

getWifiNetworks

Get list of nearby networks and return a promise of Network array otherwise TetheringError will be thrown with the error details.

caution

You must have

  • ACCESS_COARSE_LOCATION
  • ACCESS_FINE_LOCATION

permissions granted to your App

Returns: Promise

ParamsTypeDescriptionDefault
rescanBooleanforce device to do another scanfalse