ComplicationSlotsManager.TapCallback

interface ComplicationSlotsManager.TapCallback


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

Summary

Public functions

open Unit
onComplicationSlotTapped(complicationSlotId: Int)

Called when the user single taps on a complication.

Public functions

onComplicationSlotTapped

Added in 1.0.0
open fun onComplicationSlotTapped(complicationSlotId: Int): Unit

Called when the user single taps on a complication.

Parameters
complicationSlotId: Int

The id for the ComplicationSlot that was tapped