ComplicationSlotsManager.TapCallback

interface ComplicationSlotsManager.TapCallback


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

Summary

Public methods

void
onComplicationSlotTapped(int complicationSlotId)

Called when the user single taps on a complication.

Public methods

onComplicationSlotTapped

@NonNull
public void onComplicationSlotTapped(int complicationSlotId)

Called when the user single taps on a complication.

Parameters
int complicationSlotId

The id for the ComplicationSlot that was tapped