Since: Knox API Level 23
public static final enum

RestrictionPolicy.USBInterface

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.samsung.android.knox.restriction.RestrictionPolicy.USBInterface

Class Overview

Enum of USB class Interface

Since
API level 23
MDM 5.9

Summary

Enum Values
RestrictionPolicy.USBInterface  AUD  USB_CLASS_AUDIO (0X2) 
RestrictionPolicy.USBInterface  CDC  USB_CLASS_CDC_DATA (0X4) 
RestrictionPolicy.USBInterface  COM  USB_CLASS_COMM (0x8) 
RestrictionPolicy.USBInterface  HID  USB_CLASS_HID (0X40) 
RestrictionPolicy.USBInterface  MAS  USB_CLASS_MASS_STORAGE (0X100) 
RestrictionPolicy.USBInterface  MIS  USB_CLASS_MISC (0X200) 
RestrictionPolicy.USBInterface  OFF  ALL_OPEN (0x1FFFF) 
RestrictionPolicy.USBInterface  STI  USB_CLASS_STILL_IMAGE (0x2000) 
RestrictionPolicy.USBInterface  VEN  USB_CLASS_VENDOR_SPEC (0x4000) 
RestrictionPolicy.USBInterface  WIR  USB_CLASS_WIRELESS_CONTROLLER (0x10000) 
Public Methods
String getFullName()
API to get USB interface full name.
int getValue()
API to get USB interface mask value.
static RestrictionPolicy.USBInterface valueOf(String name)
final static USBInterface[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RestrictionPolicy.USBInterface AUD

Since: Knox API Level

USB_CLASS_AUDIO (0X2)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface CDC

Since: Knox API Level

USB_CLASS_CDC_DATA (0X4)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface COM

Since: Knox API Level

USB_CLASS_COMM (0x8)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface HID

Since: Knox API Level

USB_CLASS_HID (0X40)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface MAS

Since: Knox API Level

USB_CLASS_MASS_STORAGE (0X100)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface MIS

Since: Knox API Level

USB_CLASS_MISC (0X200)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface OFF

Since: Knox API Level

ALL_OPEN (0x1FFFF)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface STI

Since: Knox API Level

USB_CLASS_STILL_IMAGE (0x2000)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface VEN

Since: Knox API Level

USB_CLASS_VENDOR_SPEC (0x4000)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface WIR

Since: Knox API Level

USB_CLASS_WIRELESS_CONTROLLER (0x10000)

Since
API level 23
MDM 5.9

Public Methods

public String getFullName ()

Since: Knox API Level 23

API to get USB interface full name.

Returns
  • USB interface full name.
Since
API level 23
MDM 5.9

public int getValue ()

Since: Knox API Level 23

API to get USB interface mask value.

Returns
  • USBInterface mask value.
Since
API level 23
MDM 5.9

public static RestrictionPolicy.USBInterface valueOf (String name)

Since: Knox API Level 28

public static final USBInterface[] values ()

Since: Knox API Level 28