Stay organized with collections
Save and categorize content based on your preferences.
ConfigRequestIpv6Address
interface ConfigRequestIpv6Address : TunnelModeChildSessionParams.TunnelModeChildConfigRequest
Represents an IPv6 Internal Address request
Summary
Public methods |
abstract Inet6Address? |
Retrieves the requested internal IPv6 address
|
abstract Int |
Retrieves the prefix length
|
Public methods
getAddress
abstract fun getAddress(): Inet6Address?
Retrieves the requested internal IPv6 address
Return |
Inet6Address? |
The requested IPv6 address, or null if no specific internal address was requested |
getPrefixLength
abstract fun getPrefixLength(): Int
Retrieves the prefix length
Return |
Int |
The requested prefix length, or -1 if no specific IPv6 address was requested |
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,["# TunnelModeChildSessionParams.ConfigRequestIpv6Address\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nConfigRequestIpv6Address\n========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address \"View this page in Java\") \n\n```\ninterface ConfigRequestIpv6Address : TunnelModeChildSessionParams.TunnelModeChildConfigRequest\n```\n\n|----------------------------------------------------------------------------------|\n| [android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6Address](#) |\n\nRepresents an IPv6 Internal Address request\n\nSummary\n-------\n\n| Public methods ||\n|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| abstract [Inet6Address](../../../../java/net/Inet6Address.html#)? | [getAddress](#getAddress())`()` Retrieves the requested internal IPv6 address |\n| abstract [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getPrefixLength](#getPrefixLength())`()` Retrieves the prefix length |\n\nPublic methods\n--------------\n\n### getAddress\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getAddress(): Inet6Address?\n```\n\nRetrieves the requested internal IPv6 address\n\n| Return ||\n|----------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [Inet6Address](../../../../java/net/Inet6Address.html#)? | The requested IPv6 address, or null if no specific internal address was requested |\n\n### getPrefixLength\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPrefixLength(): Int\n```\n\nRetrieves the prefix length\n\n| Return ||\n|----------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | The requested prefix length, or -1 if no specific IPv6 address was requested |"]]