PointerCaptureComponent.PointerCaptureState


class PointerCaptureComponent.PointerCaptureState


Defines the possible states of a PointerCaptureComponent.

Summary

Public companion properties

PointerCaptureComponent.PointerCaptureState

Pointer Capture is enabled for this component.

PointerCaptureComponent.PointerCaptureState

Pointer Capture is temporarily disabled for this component.

PointerCaptureComponent.PointerCaptureState

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

Public functions

open String

Public companion properties

ACTIVE

val ACTIVEPointerCaptureComponent.PointerCaptureState

Pointer Capture is enabled for this component.

PAUSED

val PAUSEDPointerCaptureComponent.PointerCaptureState

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

STOPPED

val STOPPEDPointerCaptureComponent.PointerCaptureState

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 functions

toString

open fun toString(): String