Stay organized with collections
Save and categorize content based on your preferences.
ProtocolFamily
interface ProtocolFamily
Known Indirect Subclasses
|
Represents a family of communication protocols.
Summary
Public methods |
abstract String! |
Returns the name of the protocol family.
|
Public methods
name
abstract fun name(): String!
Returns the name of the protocol family.
Return |
String! |
the name of the protocol family |
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,["# ProtocolFamily\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nProtocolFamily\n==============\n\n```\ninterface ProtocolFamily\n```\n\n|------------------------------|\n| [java.net.ProtocolFamily](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [StandardProtocolFamily](/reference/kotlin/java/net/StandardProtocolFamily) |-----------------------------------------------------------------------------|-----------------------------------------------------------| | [StandardProtocolFamily](/reference/kotlin/java/net/StandardProtocolFamily) | Defines the standard families of communication protocols. | |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [StandardProtocolFamily.INET](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET), [StandardProtocolFamily.INET6](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET6), [StandardProtocolFamily.UNIX](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:UNIX) |----------------------------------------------------------------------------------------------------|-------------------------------------------------| | [StandardProtocolFamily.INET](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET) | Internet Protocol Version 4 (IPv4) | | [StandardProtocolFamily.INET6](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET6) | Internet Protocol Version 6 (IPv6) | | [StandardProtocolFamily.UNIX](/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:UNIX) | Unix domain (Local) interprocess communication. | |\n\nRepresents a family of communication protocols.\n\nSummary\n-------\n\n| Public methods ||\n|--------------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [name](#name())`()` Returns the name of the protocol family. |\n\nPublic methods\n--------------\n\n### name\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun name(): String!\n```\n\nReturns the name of the protocol family.\n\n| Return ||\n|-----------------------------------------------------------------------------------|---------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | the name of the protocol family |"]]