Stay organized with collections
Save and categorize content based on your preferences.
Namespace
class Namespace
The namespace that this address exists in. See also include/cutils/sockets.h ANDROID_SOCKET_NAMESPACE_*
Summary
Enum values |
A socket in the Linux abstract namespace
|
A socket named with a normal filesystem path.
|
A socket in the Android reserved namespace in /dev/socket.
|
Enum values
RESERVED
enum val RESERVED : LocalSocketAddress.Namespace
A socket in the Android reserved namespace in /dev/socket. Only the init process may create a socket here.
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,["# LocalSocketAddress.Namespace\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nNamespace\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/LocalSocketAddress.Namespace \"View this page in Java\") \n\n```\nclass Namespace\n```\n\n|---|---|-----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.net.LocalSocketAddress.Namespace](#)\\\u003e ||\n| | ↳ | [android.net.LocalSocketAddress.Namespace](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [LocalSocketAddress.Namespace.ABSTRACT](#ENUM_VALUE:ABSTRACT), [LocalSocketAddress.Namespace.FILESYSTEM](#ENUM_VALUE:FILESYSTEM), [LocalSocketAddress.Namespace.RESERVED](#ENUM_VALUE:RESERVED) |-------------------------------------------------------------------|------------------------------------------------------------| | [LocalSocketAddress.Namespace.ABSTRACT](#ENUM_VALUE:ABSTRACT) | A socket in the Linux abstract namespace | | [LocalSocketAddress.Namespace.FILESYSTEM](#ENUM_VALUE:FILESYSTEM) | A socket named with a normal filesystem path. | | [LocalSocketAddress.Namespace.RESERVED](#ENUM_VALUE:RESERVED) | A socket in the Android reserved namespace in /dev/socket. | |\n\nThe namespace that this address exists in. See also include/cutils/sockets.h ANDROID_SOCKET_NAMESPACE_\\*\n\nSummary\n-------\n\n| Enum values ||\n|---------------------------------------------------------------------------------------------|---|\n| [ABSTRACT](#ENUM_VALUE:ABSTRACT) A socket in the Linux abstract namespace |\n| [FILESYSTEM](#ENUM_VALUE:FILESYSTEM) A socket named with a normal filesystem path. |\n| [RESERVED](#ENUM_VALUE:RESERVED) A socket in the Android reserved namespace in /dev/socket. |\n\nEnum values\n-----------\n\n### ABSTRACT\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ABSTRACT : LocalSocketAddress.Namespace\n```\n\nA socket in the Linux abstract namespace \n\n### FILESYSTEM\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val FILESYSTEM : LocalSocketAddress.Namespace\n```\n\nA socket named with a normal filesystem path. \n\n### RESERVED\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val RESERVED : LocalSocketAddress.Namespace\n```\n\nA socket in the Android reserved namespace in /dev/socket. Only the init process may create a socket here."]]