PointerCaptureComponent.PointerCaptureState


object PointerCaptureComponent.PointerCaptureState


Defines the possible states of a PointerCaptureComponent.

Summary

Constants

const Int

Pointer Capture is enabled for this component.

const Int

Pointer Capture is temporarily disabled for this component.

const 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
const val POINTER_CAPTURE_ACTIVE = 1: Int

Pointer Capture is enabled for this component.

POINTER_CAPTURE_PAUSED

Added in 1.0.0-alpha05
const val POINTER_CAPTURE_PAUSED = 0: Int

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
const val POINTER_CAPTURE_STOPPED = 2: Int

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.