Class InputDeviceBuilder

java.lang.Object
org.robolectric.shadows.InputDeviceBuilder

public class InputDeviceBuilder extends Object
Builder for InputDevice.

This exposes the setters for public InputDevice attributes. Its implemented by wrapping the hidden android.view.InputDevice.Builder. Tests building against the android platform source should just use that API instead.

Only supported when running on SDKs >= 34