Stay organized with collections
Save and categorize content based on your preferences.
AccessNetworkConstants
class AccessNetworkConstants
Contains access network related constants.
Summary
Nested classes |
|
|
|
Frequency bands for EUTRAN.
|
|
Frequency bands for GERAN.
|
|
Frequency bands for NGRAN https://www.
|
|
Frequency bands for UTRAN.
|
Constants |
static Int |
Transport type for Wireless Local Area Networks (i.e. Wifi)
|
static Int |
Transport type for Wireless Wide Area Networks (i.e. Cellular)
|
Constants
TRANSPORT_TYPE_WLAN
static val TRANSPORT_TYPE_WLAN: Int
Transport type for Wireless Local Area Networks (i.e. Wifi)
Value: 2
TRANSPORT_TYPE_WWAN
static val TRANSPORT_TYPE_WWAN: Int
Transport type for Wireless Wide Area Networks (i.e. Cellular)
Value: 1
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-02-10 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-02-10 UTC."],[],[],null,["# AccessNetworkConstants\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAccessNetworkConstants\n======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/telephony/AccessNetworkConstants \"View this page in Java\") \n\n```\nclass AccessNetworkConstants\n```\n\n|---|-----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.telephony.AccessNetworkConstants](#) |\n\nContains access network related constants.\n\nSummary\n-------\n\n| Nested classes ||\n|---|----------------------------------------------------------------------------------------------------------------------------|\n| | [AccessNetworkType](/reference/kotlin/android/telephony/AccessNetworkConstants.AccessNetworkType) \u003cbr /\u003e |\n| | [EutranBand](/reference/kotlin/android/telephony/AccessNetworkConstants.EutranBand) Frequency bands for EUTRAN. |\n| | [GeranBand](/reference/kotlin/android/telephony/AccessNetworkConstants.GeranBand) Frequency bands for GERAN. |\n| | [NgranBands](/reference/kotlin/android/telephony/AccessNetworkConstants.NgranBands) Frequency bands for NGRAN https://www. |\n| | [UtranBand](/reference/kotlin/android/telephony/AccessNetworkConstants.UtranBand) Frequency bands for UTRAN. |\n\n| Constants ||\n|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRANSPORT_TYPE_WLAN](#TRANSPORT_TYPE_WLAN:kotlin.Int) Transport type for Wireless Local Area Networks (i.e. Wifi) |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRANSPORT_TYPE_WWAN](#TRANSPORT_TYPE_WWAN:kotlin.Int) Transport type for Wireless Wide Area Networks (i.e. Cellular) |\n\nConstants\n---------\n\n### TRANSPORT_TYPE_WLAN\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TRANSPORT_TYPE_WLAN: Int\n```\n\nTransport type for Wireless Local Area Networks (i.e. Wifi) \n\n Value: 2\n\n### TRANSPORT_TYPE_WWAN\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TRANSPORT_TYPE_WWAN: Int\n```\n\nTransport type for Wireless Wide Area Networks (i.e. Cellular) \n\n Value: 1"]]