# TunnelModeChildSessionParams.ConfigRequestIpv4Address

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

# TunnelModeChildSessionParams.ConfigRequestIpv4Address

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Address "View this page in Kotlin") \|Java


`
public
static


interface
TunnelModeChildSessionParams.ConfigRequestIpv4Address
`


`


implements

`[TunnelModeChildSessionParams.TunnelModeChildConfigRequest](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.TunnelModeChildConfigRequest)`


`

|-----------------------------------------------------------------------------|
| android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv4Address |

<br />

*** ** * ** ***

Represents an IPv4 Internal Address request

## Summary

|                                                                                                                                       ### Public methods                                                                                                                                        ||
|-------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[Inet4Address](https://developer.android.com/reference/java/net/Inet4Address) | ` `[getAddress](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Address#getAddress())`() ` Retrieves the requested internal IPv4 address |

## Public methods

### getAddress

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

```
public abstract Inet4Address getAddress ()
```

Retrieves the requested internal IPv4 address

<br />

|                                                                                 Returns                                                                                 ||
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| [Inet4Address](https://developer.android.com/reference/java/net/Inet4Address) | The requested IPv4 address, or null if no specific internal address was requested <br /> |