Interface IUnifiedWifiEventData
interface IUnifiedWifiEventData
Extends com.amazon.kepler.net.common.IUnifiedNetworkEventData
Provide extra data for unified network event from Wi-Fi interface.
This is available for following unified network events.
UnifiedNetworkState.CONNECTEDfrom Wi-Fi interfaceUnifiedNetworkState.BAD_PASSWORDUnifiedNetworkState.SHORT_DISCONNECTUnifiedNetworkState.LONG_DISCONNECT
Methods
getSsid()
string getSsid()
Get the SSID used in last Wi-Fi connection.
Returns
string
the SSID used in last Wi-Fi connection.
getAuthMode()
AuthMode getAuthMode()
Get the authentication method of the SSID used in last Wi-Fi connection.
Returns
AuthMode
AuthMode enum.
ssidChanged()
bool ssidChanged()
Notified when SSID is changed.
This value is only valid for following events.
UnifiedNetworkState.SHORT_DISCONNECTUnifiedNetworkState.LONG_DISCONNECTFor the other unified network events, this value is of no practical meaning, and is false.
Returns
bool
boolean value shows if SSID is changed.

