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

ComplicationProviderService.ComplicationUpdateCallback

public static interface ComplicationProviderService.ComplicationUpdateCallback

androidx.wear.complications.ComplicationProviderService.ComplicationUpdateCallback


Callback for ComplicationProviderService.onComplicationUpdate(int, ComplicationType, ComplicationProviderService.ComplicationUpdateCallback).

Summary

Public methods

abstract void onUpdateComplication(ComplicationData complicationData)

Sends the complicationData to the system.

Public methods

onUpdateComplication

public abstract void onUpdateComplication (ComplicationData complicationData)

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.

Parameters
complicationData ComplicationData

Throws
RemoteException