Class

ConsumedData

Describes what aspects of a change has been consumed.

Source set: Common
public class ConsumedData(positionChange: Boolean = false, downChange: Boolean = false)

Describes what aspects of a change has been consumed.

Parameters

positionChange True if a position change in this event has been consumed.
downChange True if a change to down or up has been consumed.

Properties

positionChange

Source set: Common
@Deprecated(
        "Partial consumption was deprecated. Use PointerEvent.isConsumed " +
            "and PointerEvent.consume() instead."
    )
    public var positionChange: Boolean = positionChange

downChange

Source set: Common
@Deprecated(
        "Partial consumption was deprecated. Use PointerEvent.isConsumed " +
            "and PointerEvent.consume() instead."
    )
    public var downChange: Boolean = downChange
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: