Added in API level 24

ProtocolFamily

interface ProtocolFamily
StandardProtocolFamily

Defines the standard families of communication protocols.

StandardProtocolFamily.INET

Internet Protocol Version 4 (IPv4)

StandardProtocolFamily.INET6

Internet Protocol Version 6 (IPv6)

StandardProtocolFamily.UNIX

Unix domain (Local) interprocess communication.

Represents a family of communication protocols.

Summary

Public methods
abstract String!

Returns the name of the protocol family.

Public methods

name

Added in API level 24
abstract fun name(): String!

Returns the name of the protocol family.

Return
String! the name of the protocol family