ComplicationSlotsManager.TapCallback


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)

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public methods

onComplicationSlotTapped

Added in 1.0.0
Deprecated in 1.3.0-alpha06
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