Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

StandardProtocolFamily

public final enum StandardProtocolFamily
extends Enum<StandardProtocolFamily> implements ProtocolFamily

java.lang.Object
   ↳ java.lang.Enum<java.net.StandardProtocolFamily>
     ↳ java.net.StandardProtocolFamily


Defines the standard families of communication protocols.

Summary

Enum values

StandardProtocolFamily  INET

Internet Protocol Version 4 (IPv4)  

StandardProtocolFamily  INET6

Internet Protocol Version 6 (IPv6)  

Public methods

static StandardProtocolFamily valueOf(String name)
static final StandardProtocolFamily[] values()

Inherited methods

Enum values

INET

added in API level 24
public static final StandardProtocolFamily INET

Internet Protocol Version 4 (IPv4)

INET6

added in API level 24
public static final StandardProtocolFamily INET6

Internet Protocol Version 6 (IPv6)

Public methods

valueOf

added in API level 24
public static StandardProtocolFamily valueOf (String name)

Parameters
name String

Returns
StandardProtocolFamily

values

added in API level 24
public static final StandardProtocolFamily[] values ()

Returns
StandardProtocolFamily[]