PointerCaptureComponent.PointerCaptureState


public static class PointerCaptureComponent.PointerCaptureState


Defines the possible states of a PointerCaptureComponent.

Summary

Constants

static final int

Pointer Capture is enabled for this component.

static final int

Pointer Capture is temporarily disabled for this component.

static final int

Pointer Capture has been stopped for this component and no more callbacks will get triggered.

Constants

POINTER_CAPTURE_ACTIVE

Added in 1.0.0-alpha05
public static final int POINTER_CAPTURE_ACTIVE = 1

Pointer Capture is enabled for this component.

POINTER_CAPTURE_PAUSED

Added in 1.0.0-alpha05
public static final int POINTER_CAPTURE_PAUSED = 0

Pointer Capture is temporarily disabled for this component. The component can resume capture from this state.

POINTER_CAPTURE_STOPPED

Added in 1.0.0-alpha05
public static final int POINTER_CAPTURE_STOPPED = 2

Pointer Capture has been stopped for this component and no more callbacks will get triggered. The component will not recover from this state. This can occur if the underlying system replaces this pointer capture request by another one.

Public fields