-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum RivePointerInputMode extends Enum<RivePointerInputMode>
Controls how a Rive composable participates in Compose pointer input dispatch.
Consume: Rive handles pointer events and consumes them, preventing parent/ancestor gesture detectors (e.g., scroll) from also acting.
Observe: Rive handles pointer events but does not consume them. Parent/ancestor gesture detectors may also react.
PassThrough: Rive handles pointer events and also shares them with any sibling composables positioned underneath it without consuming. Useful if your Rive file is an overlay with transparent sections that should allow pointer events through.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PassThroughObserveConsume
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-