Stay organized with collections
Save and categorize content based on your preferences.
Status
open class Status
Possible status of a network configuration.
Summary
Constants |
static Int |
this is the network we are currently connected to
|
static Int |
supplicant will not attempt to use this network
|
static Int |
supplicant will consider this network available for association
|
Constants
CURRENT
static val CURRENT: Int
this is the network we are currently connected to
Value: 0
DISABLED
static val DISABLED: Int
supplicant will not attempt to use this network
Value: 1
ENABLED
static val ENABLED: Int
supplicant will consider this network available for association
Value: 2
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# WifiConfiguration.Status\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nStatus\n======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/wifi/WifiConfiguration.Status \"View this page in Java\") \n\n```\nopen class Status\n```\n\n|---|------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.wifi.WifiConfiguration.Status](#) |\n\nPossible status of a network configuration.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CURRENT](#CURRENT:kotlin.Int) this is the network we are currently connected to |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DISABLED](#DISABLED:kotlin.Int) supplicant will not attempt to use this network |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [ENABLED](#ENABLED:kotlin.Int) supplicant will consider this network available for association |\n\n| Properties ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| static [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\\\u003e! | [strings](#strings:kotlin.Array) \u003cbr /\u003e |\n\nConstants\n---------\n\n### CURRENT\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CURRENT: Int\n```\n\nthis is the network we are currently connected to \n\n Value: 0\n\n### DISABLED\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DISABLED: Int\n```\n\nsupplicant will not attempt to use this network \n\n Value: 1\n\n### ENABLED\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ENABLED: Int\n```\n\nsupplicant will consider this network available for association \n\n Value: 2\n\nProperties\n----------\n\n### strings\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val strings: Array\u003cString!\u003e!\n```"]]