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

Struct NetworkState

sealed struct NetworkState
Represent network States.

Fields

Constants

UNKNOWN

NetworkState = {0}
Network state is unknown

CONNECTING

NetworkState = {1}
Network is being connected

CONNECTED

NetworkState = {2}
Network is connected

DISCONNECTING

NetworkState = {3}
Network is being disconnected

DISCONNECTED

NetworkState = {4}
Network is disconnected

L2CONNECTED

NetworkState = {5}
Underlying link layer is connected
Last modified on October 29, 2026