Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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.CONNECTED from Wi-Fi interface
  • UnifiedNetworkState.BAD_PASSWORD
  • UnifiedNetworkState.SHORT_DISCONNECT
  • UnifiedNetworkState.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_DISCONNECT
  • UnifiedNetworkState.LONG_DISCONNECT For the other unified network events, this value is of no practical meaning, and is false.

Returns

bool boolean value shows if SSID is changed.
Last modified on October 29, 2026