Stay organized with collections
Save and categorize content based on your preferences.
TunnelModeChildSessionParams.ConfigRequestIpv6Address
public
static
interface
TunnelModeChildSessionParams.ConfigRequestIpv6Address
implements
TunnelModeChildSessionParams.TunnelModeChildConfigRequest
android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6Address
|
Represents an IPv6 Internal Address request
Summary
Public methods
getAddress
public abstract Inet6Address getAddress ()
Retrieves the requested internal IPv6 address
Returns |
Inet6Address |
The requested IPv6 address, or null if no specific internal address was requested |
getPrefixLength
public abstract int getPrefixLength ()
Retrieves the prefix length
Returns |
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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nTunnelModeChildSessionParams.ConfigRequestIpv6Address\n=====================================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nTunnelModeChildSessionParams.ConfigRequestIpv6Address\n`\n\n\n`\n\n\nimplements\n\n`[TunnelModeChildSessionParams.TunnelModeChildConfigRequest](/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.TunnelModeChildConfigRequest)`\n\n\n`\n\n|-----------------------------------------------------------------------------|\n| android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequestIpv6Address |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRepresents an IPv6 Internal Address request\n\nSummary\n-------\n\n| ### Public methods ||\n|--------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[Inet6Address](/reference/java/net/Inet6Address) | ` `[getAddress](/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address#getAddress())`() ` Retrieves the requested internal IPv6 address |\n| ` abstract int` | ` `[getPrefixLength](/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address#getPrefixLength())`() ` Retrieves the prefix length |\n\nPublic methods\n--------------\n\n### getAddress\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract Inet6Address getAddress ()\n```\n\nRetrieves the requested internal IPv6 address\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------------------------------------------|------------------------------------------------------------------------------------------|\n| [Inet6Address](/reference/java/net/Inet6Address) | The requested IPv6 address, or null if no specific internal address was requested \u003cbr /\u003e |\n\n### getPrefixLength\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract int getPrefixLength ()\n```\n\nRetrieves the prefix length\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|-------------------------------------------------------------------------------------|\n| `int` | The requested prefix length, or -1 if no specific IPv6 address was requested \u003cbr /\u003e |"]]