Since: 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: API level

USB_CLASS_AUDIO (0X2)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface CDC

Since: API level

USB_CLASS_CDC_DATA (0X4)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface COM

Since: API level

USB_CLASS_COMM (0x8)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface HID

Since: API level

USB_CLASS_HID (0X40)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface MAS

Since: API level

USB_CLASS_MASS_STORAGE (0X100)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface MIS

Since: API level

USB_CLASS_MISC (0X200)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface OFF

Since: API level

ALL_OPEN (0x1FFFF)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface STI

Since: API level

USB_CLASS_STILL_IMAGE (0x2000)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface VEN

Since: API level

USB_CLASS_VENDOR_SPEC (0x4000)

Since
API level 23
MDM 5.9

public static final RestrictionPolicy.USBInterface WIR

Since: API level

USB_CLASS_WIRELESS_CONTROLLER (0x10000)

Since
API level 23
MDM 5.9

Public Methods

public String getFullName ()

Since: 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: 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: API level 28

public static final USBInterface[] values ()

Since: API level 28