Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable
From interface java.net.ProtocolFamily

Enum values

INET

Added in API level 24
StandardProtocolFamily INET

Internet Protocol Version 4 (IPv4)

INET6

Added in API level 24
StandardProtocolFamily INET6

Internet Protocol Version 6 (IPv6)

Public methods

valueOf

Added in API level 24
StandardProtocolFamily valueOf (String name)

Parameters
name String
Returns
StandardProtocolFamily

Hooray!