TapCallback
Kotlin
|Java
interface TapCallback
androidx.wear.watchface.ComplicationsManager.TapCallback |
Interface used to report user taps on the complication. See addTapListener and removeTapListener.
Summary
Public methods | |
---|---|
open Unit |
onComplicationDoubleTapped(complicationId: Int) Called when the user double taps on a complication, launches the complication configuration activity. |
open Unit |
onComplicationSingleTapped(complicationId: Int) Called when the user single taps on a complication. |
Public methods
onComplicationDoubleTapped
open fun onComplicationDoubleTapped(complicationId: Int): Unit
Called when the user double taps on a complication, launches the complication configuration activity.
Parameters | |
---|---|
complicationId: Int | The watch face's id for the complication double tapped |