# ProtocolFamily

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Methods](https://developer.android.com/reference/java/net/ProtocolFamily#pubmethods)  

# ProtocolFamily

`
public


interface
ProtocolFamily
`  
`


`

|-------------------------|
| java.net.ProtocolFamily |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [StandardProtocolFamily](https://developer.android.com/reference/java/net/StandardProtocolFamily) |---------------------------------------------------------------------------------------------------|-----------------------------------------------------------| | [StandardProtocolFamily](https://developer.android.com/reference/java/net/StandardProtocolFamily) | Defines the standard families of communication protocols. | |

<br />

*** ** * ** ***

Represents a family of communication protocols.

## Summary

|                                                                                               ### Public methods                                                                                                ||
|--------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[String](https://developer.android.com/reference/java/lang/String) | ` `[name](https://developer.android.com/reference/java/net/ProtocolFamily#name())`() ` Returns the name of the protocol family. |

## Public methods

### name

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

```
public abstract String name ()
```

Returns the name of the protocol family.

<br />

|                                                  Returns                                                   ||
|--------------------------------------------------------------------|----------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | the name of the protocol family <br /> |