Class: Toybox.WatchUi.WatchFaceDelegate

Overview

Receive events on a Watch Face.

See Also:

Since:

API Level 2.3.0

Instance Method Summary collapse

Instance Method Details

onPowerBudgetExceeded(powerInfo as WatchUi.WatchFacePowerInfo) as Void

Handle a partial update exceeding the power budget.

If the onPartialUpdate() callback of the associated WatchFace exceeds the power budget of the device, this method will be called with information about the limits that were exceeded.

Parameters:

See Also:

Since:

API Level 2.3.0

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

Called when user does a touch and hold

Parameters:

Supported Devices:

Returns:

  • true if the click event is handled, otherwise false.

Since:

API Level 4.2.0


Generated Apr 17, 2024 9:40:39 AM