Google is committed to advancing racial equity for Black communities. See how.

ComplicationUpdateCallback

interface ComplicationUpdateCallback
androidx.wear.complications.ComplicationProviderService.ComplicationUpdateCallback

Callback for onComplicationUpdate.

Summary

Public methods
abstract Unit
onUpdateComplication(@Nullable complicationData: ComplicationData?)

Sends the complicationData to the system.

Public methods

onUpdateComplication

abstract fun onUpdateComplication(@Nullable complicationData: ComplicationData?): Unit

Sends the complicationData to the system. If null is passed then any previous complication data will not be overwritten. Can be called on any thread. Should only be called once.