PointerPropertiesBuilder

public class PointerPropertiesBuilder
extends Object

java.lang.Object
   ↳ androidx.test.core.view.PointerPropertiesBuilder


Builder for MotionEvent.PointerProperties.

Summary

Public methods

MotionEvent.PointerProperties build()
static PointerPropertiesBuilder newBuilder()
PointerPropertiesBuilder setId(int id)
PointerPropertiesBuilder setToolType(int toolType)

Inherited methods

Public methods

newBuilder

public static PointerPropertiesBuilder newBuilder ()

Returns
PointerPropertiesBuilder

setId

public PointerPropertiesBuilder setId (int id)

Parameters
id int

Returns
PointerPropertiesBuilder

setToolType

public PointerPropertiesBuilder setToolType (int toolType)

Parameters
toolType int

Returns
PointerPropertiesBuilder