Since: API level 17
public static final enum

Firewall.NetworkInterface

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

Class Overview

This constant should be used to indicate whether a rule is related to connection through WI-FI or mobile data.

Since
API level 17
MDM 5.5

Summary

Enum Values
Firewall.NetworkInterface  ALL_NETWORKS  Indicates that the rule is related to connection on any network interface. 
Firewall.NetworkInterface  MOBILE_DATA_ONLY  Indicates that the rule is related to connection through mobile data. 
Firewall.NetworkInterface  WIFI_DATA_ONLY  Indicates that the rule is related to connection through WI-FI. 
Public Methods
static Firewall.NetworkInterface valueOf(String name)
final static NetworkInterface[] 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.NetworkInterface ALL_NETWORKS

Since: API level

Indicates that the rule is related to connection on any network interface.

Since
API level 17
MDM 5.5

public static final Firewall.NetworkInterface MOBILE_DATA_ONLY

Since: API level

Indicates that the rule is related to connection through mobile data.

Since
API level 17
MDM 5.5

public static final Firewall.NetworkInterface WIFI_DATA_ONLY

Since: API level

Indicates that the rule is related to connection through WI-FI.

Since
API level 17
MDM 5.5

Public Methods

public static Firewall.NetworkInterface valueOf (String name)

Since: API level 28

public static final NetworkInterface[] values ()

Since: API level 28