ComplicationSlotsManager.TapCallback

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

@NonNull
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