Since: API level 17
public static final enum

Firewall.Protocol

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.samsung.android.knox.net.firewall.Firewall.Protocol

Class Overview

This constant should be used to indicate whether a rule is related to TCP or UDP protocol.

Since
API level 17
MDM 5.5

Summary

Enum Values
Firewall.Protocol  ALL  Indicate that the rule is related to TCP or UDP protocol. 
Firewall.Protocol  TCP  Indicate that the rule is related to TCP protocol. 
Firewall.Protocol  UDP  Indicate that the rule is related to UDP protocol. 
Public Methods
static Firewall.Protocol valueOf(String name)
final static Protocol[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable
From interface java.lang.constant.Constable

Enum Values

public static final Firewall.Protocol ALL

Since: API level

Indicate that the rule is related to TCP or UDP protocol.

Since
API level 17
MDM 5.5

public static final Firewall.Protocol TCP

Since: API level

Indicate that the rule is related to TCP protocol.

Since
API level 17
MDM 5.5

public static final Firewall.Protocol UDP

Since: API level

Indicate that the rule is related to UDP protocol.

Since
API level 17
MDM 5.5

Public Methods

public static Firewall.Protocol valueOf (String name)

Since: API level 28

public static final Protocol[] values ()

Since: API level 28