Class: $.ConfigurationWatchFaceDelegate

Inherits:
WatchUi.WatchFaceDelegate show all

Overview

Delegate to handle watch face input and notifications.

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _view as $.ConfigurationWatchFaceView

The view attached to this delegate

Instance Method Details

getComplicationDrawable(complication as WatchFaceConfig.ComplicationRef) as WatchUi.Drawable or WatchUi.ComplicationDrawableRef or Null

Give the requested drawable to the system

Called when the system requests the drawable to display the currenty selected complication.

Parameters:

  • complication —

    The complication to get the drawable for

initialize(view as $.ConfigurationWatchFaceView)

Constructor

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

Handle a tap event by notifying the system if a complication is at the tapped location

Parameters:

  • clickEvent —

    The tap event

onWatchFaceConfigEdited(options as { :configId as WatchFaceConfig.Id, :type as WatchUi.WatchFaceConfigType or Null, :committed as Lang.Boolean }) as Void

Handle watch face configuration changes

Parameters:

  • options —

    The edited configuration


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