Package org.robolectric.shadows
Class ShadowUsbRequest
java.lang.Object
org.robolectric.shadows.ShadowUsbRequest
@Implements(android.hardware.usb.UsbRequest.class) public class ShadowUsbRequest extends Object
Robolectric implementation of
UsbRequest
.-
Constructor Summary
Constructors Constructor Description ShadowUsbRequest()
-
Method Summary
Modifier and Type Method Description protected void
close()
protected boolean
initialize(UsbDeviceConnection connection, UsbEndpoint endpoint)
protected boolean
queue(ByteBuffer buffer)
protected boolean
queue(ByteBuffer buffer, int length)
-
Constructor Details
-
ShadowUsbRequest
public ShadowUsbRequest()
-
-
Method Details