# AccessNetworkConstants

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# AccessNetworkConstants

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/telephony/AccessNetworkConstants "View this page in Java")  

```
class AccessNetworkConstants
```

|---|--------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                       ||
| ↳ | [android.telephony.AccessNetworkConstants](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants#) |

Contains access network related constants.

## Summary

|                                                                       Nested classes                                                                       ||
|---|---------------------------------------------------------------------------------------------------------------------------------------------------------|
|   | [AccessNetworkType](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants.AccessNetworkType) <br />                   |
|   | [EutranBand](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants.EutranBand) Frequency bands for EUTRAN.            |
|   | [GeranBand](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants.GeranBand) Frequency bands for GERAN.               |
|   | [NgranBands](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants.NgranBands) Frequency bands for NGRAN https://www. |
|   | [UtranBand](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants.UtranBand) Frequency bands for UTRAN.               |

|                                                                                                                                           Constants                                                                                                                                            ||
|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRANSPORT_TYPE_WLAN](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants#TRANSPORT_TYPE_WLAN:kotlin.Int) Transport type for Wireless Local Area Networks (i.e. Wifi)    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRANSPORT_TYPE_WWAN](https://developer.android.com/reference/kotlin/android/telephony/AccessNetworkConstants#TRANSPORT_TYPE_WWAN:kotlin.Int) Transport type for Wireless Wide Area Networks (i.e. Cellular) |

## Constants

### TRANSPORT_TYPE_WLAN

Added in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TRANSPORT_TYPE_WLAN: Int
```

Transport type for Wireless Local Area Networks (i.e. Wifi)  

    Value: 2

### TRANSPORT_TYPE_WWAN

Added in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TRANSPORT_TYPE_WWAN: Int
```

Transport type for Wireless Wide Area Networks (i.e. Cellular)  

    Value: 1