Since: API level 17
public static final enum

Firewall.PortLocation

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.PortLocation

Class Overview

This constant should be used to indicate whether the port in the rule is related to the device port or the server port that the device is communicating.

Since
API level 17
MDM 5.5

Summary

Enum Values
Firewall.PortLocation  ALL  Indicates that the port in the rule is related to the device and server port. 
Firewall.PortLocation  LOCAL  Indicates that the port in the rule is related to the device port. 
Firewall.PortLocation  REMOTE  Indicates that the port in the rule is related to the server port. 
Public Methods
static Firewall.PortLocation valueOf(String name)
final static PortLocation[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Firewall.PortLocation ALL

Since: API level

Indicates that the port in the rule is related to the device and server port.

Since
API level 17
MDM 5.5

public static final Firewall.PortLocation LOCAL

Since: API level

Indicates that the port in the rule is related to the device port.

Since
API level 17
MDM 5.5

public static final Firewall.PortLocation REMOTE

Since: API level

Indicates that the port in the rule is related to the server port.

Since
API level 17
MDM 5.5

Public Methods

public static Firewall.PortLocation valueOf (String name)

Since: API level 28

public static final PortLocation[] values ()

Since: API level 28