lightbulb_outline Please take our October 2018 developer survey. Start survey

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

From class java.lang.Object

Public methods

newBuilder

PointerPropertiesBuilder newBuilder ()

Returns
PointerPropertiesBuilder

setId

PointerPropertiesBuilder setId (int id)

Parameters
id int

Returns
PointerPropertiesBuilder

setToolType

PointerPropertiesBuilder setToolType (int toolType)

Parameters
toolType int

Returns
PointerPropertiesBuilder