wloc  0.9.2
Simple Wi-Fi geolocation library and tool
wloc.fetchers.native.NativeBackendCommon Class Reference
Inheritance diagram for wloc.fetchers.native.NativeBackendCommon:
wloc.fetchers.native.netman.NetworkManagerNativeAPI wloc.fetchers.native.termux.TermuxNativeAPI wloc.fetchers.native.wlan.WlanNativeAPI

Public Member Functions

None __init__ (self)
 
list get_networks (self)
 

Private Member Functions

None _fetch_list (self)
 

Detailed Description

Abstract class used for platform-dependent fetching the list
of available Wi-Fi networks.

Constructor & Destructor Documentation

◆ __init__()

None wloc.fetchers.native.NativeBackendCommon.__init__ (   self)
Main constructor of the FetcherBackendCommon class.

Reimplemented in wloc.fetchers.native.wlan.WlanNativeAPI, and wloc.fetchers.native.termux.TermuxNativeAPI.

Member Function Documentation

◆ _fetch_list()

None wloc.fetchers.native.NativeBackendCommon._fetch_list (   self)
private
Fetches the list of available networks and stores them in a
private class property.

Abstract method. Must be overridden.

Reimplemented in wloc.fetchers.native.wlan.WlanNativeAPI, wloc.fetchers.native.termux.TermuxNativeAPI, and wloc.fetchers.native.netman.NetworkManagerNativeAPI.

◆ get_networks()

list wloc.fetchers.native.NativeBackendCommon.get_networks (   self)
Gets the list of available Wi-Fi networks with their BSSID and
signal strength.
:return: The list of available Wi-Fi networks.