Class: $.ConfigurationWatchFaceDelegate
- Inherits:
-
WatchUi.WatchFaceDelegate
-
WatchUi.WatchFaceDelegate
-
Overview
Delegate to handle watch face input and notifications.
Instance Member Summary collapse
-
_view as $.ConfigurationWatchFaceView
The view attached to this delegate.
Instance Method Summary collapse
-
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.
-
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.
-
onWatchFaceConfigEdited(options as { :configId as WatchFaceConfig.Id, :type as WatchUi.WatchFaceConfigType or Null, :committed as Lang.Boolean }) as Void
Handle watch face configuration changes.
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.
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
onWatchFaceConfigEdited(options as { :configId as WatchFaceConfig.Id, :type as WatchUi.WatchFaceConfigType or Null, :committed as Lang.Boolean }) as Void
Handle watch face configuration changes