Package: android.hardware.wifi.supplicant@1.0
ISupplicantNetwork
interface ISupplicantNetwork
Interface exposed by the supplicant for each network configuration it controls.A network is the supplicant's way of representing the configuration parameters of a Wifi service set.Service sets are identified by their service set identitifier(SSID). The parameters for a network includes the credentials, bssid, etc.
Methods
getId
getId ()
generates (SupplicantStatus status, SupplicantNetworkId id)
Retrieves the ID allocated to this network by the supplicant.
This is not the |SSID| of the network, but an internal identifier for this network used by the supplicant.
Details |
Generates |
status
|
Status of the operation.Possible status codes:|SupplicantStatusCode.SUCCESS|, |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
|
id
|
Network ID.
|
|
getInterfaceName
getInterfaceName ()
generates (SupplicantStatus status, string name)
Retrieves the name of the interface this network belongs to.
Details |
Generates |
status
|
Status of the operation.Possible status codes:|SupplicantStatusCode.SUCCESS|, |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
|
name
|
of the network interface, e.g ., wlan0
|
|
getType
getType ()
generates (SupplicantStatus status, IfaceType type)
Retrieves the type of the interface this network belongs to.
Details |
Generates |
status
|
Status of the operation.Possible status codes:|SupplicantStatusCode.SUCCESS|, |SupplicantStatusCode.FAILURE_IFACE_INVALID|
|
type
|
Type of the network interface, e.g ., STA.
|
|