SL4A API Help -WifiFacade

index
Wifi functions.
checkWifiStateChecks Wifi state.
returns: (Boolean) True if Wifi is enabled.
toggleWifiStateToggle Wifi on and off.
enabled (Boolean) (optional)
returns: (Boolean) True if Wifi is enabled.
wifiDisconnectDisconnects from the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiGetConnectionInfoReturns information about the currently active access point.
wifiGetScanResultsReturns the list of access points found during the most recent Wifi scan.
wifiLockAcquireFullAcquires a full Wifi lock.
wifiLockAcquireScanOnlyAcquires a scan only Wifi lock.
wifiLockReleaseReleases a previously acquired Wifi lock.
wifiReassociateReassociates with the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiReconnectReconnects to the currently active access point.
returns: (Boolean) True if the operation succeeded.
wifiStartScanStarts a scan for Wifi access points.
returns: (Boolean) True if the scan was initiated successfully.

index