ComplicationSlotsManager.TapCallback


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

public interface ComplicationSlotsManager.TapCallback


Interface used to report user taps on the ComplicationSlot. See addTapListener and removeTapListener.

Summary

Public methods

default void
onComplicationSlotTapped(int complicationSlotId)

Called when the user single taps on a complication.

Public methods

onComplicationSlotTapped

Added in 1.0.0
default void onComplicationSlotTapped(int complicationSlotId)

Called when the user single taps on a complication.

Parameters
int complicationSlotId

The id for the ComplicationSlot that was tapped