public static interface ShadowUsbManager._UsbManager_
Accessor interface for UsbManager
’s internals.
Modifier and Type | Method and Description |
---|---|
UsbPort[] |
getPorts() |
UsbPortStatus |
getPortStatus(UsbPort port) |
void |
setPortRoles(UsbPort port,
int powerRole,
int dataRole) |
UsbPort[] getPorts()
UsbPortStatus getPortStatus(UsbPort port)
void setPortRoles(UsbPort port, int powerRole, int dataRole)