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 DisconnectReason

sealed struct DisconnectReason
Describe disconnection reasons.

Fields

Constants

UNDEFINED

DisconnectReason = {"Undefined"}
Undefined reason

ASSOC_FAILURE

DisconnectReason = {"Association Failed"}
A connection attempt was unsuccessful at the association phrase

AUTH_FAILURE

DisconnectReason = {"Authentication Failed"}
A connection attempt was unsuccessful at the authentication phrase

IP_FAILURE

DisconnectReason = {"IP Allocation Failed"}
Unable to obtain IP address

LOCALLY_GENERATED

DisconnectReason = {"Locally Generated"}
A disconnect request was generated locally

INTERFACE_DISABLED

DisconnectReason = {"Interface Disabled"}
Interface is disabled
Last modified on October 29, 2026