Class: $.AttentionDelegate

Inherits:
WatchUi.InputDelegate show all

Overview

Input handler for the attention view

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _view as $.AttentionView

Instance Method Details

initialize(view as $.AttentionView)

Constructor

Parameters:

  • view —

    The app view

onKey(evt as WatchUi.KeyEvent) as Lang.Boolean

Handle key events

Parameters:

  • evt —

    The key event that occurred

Returns:

  • true if handled, false otherwise

onSelect() as Lang.Boolean

Handle enter events

Returns:

  • true if handled, false otherwise

onSwipe(evt as WatchUi.SwipeEvent) as Lang.Boolean

Parameters:

  • evt —

    The swipe event that occurred

Returns:

  • true if handled, false otherwise

onTap(evt as WatchUi.ClickEvent) as Lang.Boolean

Handle touchscreen taps

Parameters:

  • evt —

    The click event that occurred

Returns:

  • true if handled, false otherwise


Generated Oct 20, 2026, 8:20:28 AM