Google is committed to advancing racial equity for Black communities. See how.

DelayUpEvent

data class DelayUpEvent : CustomEvent
kotlin.Any
   ↳ androidx.ui.core.gesture.customevents.DelayUpEvent

Dispatched by a PointerInputFilter when it wants other PointerInputFilters to delay "responding to up events" (calling callbacks because, for example, a finger lifted off of the screen).

Senders and receivers of this message must follow a strict contract such that disambiguation between multiple PointerInputFilters in regards tapping multiple times works correctly and only one responds correctly at a time. See DelayUpMessage for details.

Note: This system and contract currently only works to disambiguate between DoubleTapGestureFilter and TapGestureFilter. Further multiple tap has not yet been implemented.

Summary

Public constructors
<init>(message: DelayUpMessage, pointers: Set<PointerId>)

Dispatched by a PointerInputFilter when it wants other PointerInputFilters to delay "responding to up events" (calling callbacks because, for example, a finger lifted off of the screen).

Public methods
Int

Properties
DelayUpMessage

The DelayUpMessage being sent.

Set<PointerId>

The pointers whose up events are being requested to be delayed.

Public constructors

<init>

DelayUpEvent(
    message: DelayUpMessage,
    pointers: Set<PointerId>)

Dispatched by a PointerInputFilter when it wants other PointerInputFilters to delay "responding to up events" (calling callbacks because, for example, a finger lifted off of the screen).

Senders and receivers of this message must follow a strict contract such that disambiguation between multiple PointerInputFilters in regards tapping multiple times works correctly and only one responds correctly at a time. See DelayUpMessage for details.

Note: This system and contract currently only works to disambiguate between DoubleTapGestureFilter and TapGestureFilter. Further multiple tap has not yet been implemented.

Parameters
message: DelayUpMessage The DelayUpMessage being sent.
pointers: Set<PointerId> The pointers whose up events are being requested to be delayed.

Public methods

hashCode

fun hashCode(): Int

Properties

message

var message: DelayUpMessage

The DelayUpMessage being sent.

pointers

val pointers: Set<PointerId>

The pointers whose up events are being requested to be delayed.