public interface

ComplicationProviderService.ComplicationUpdateCallback

 androidx.wear.complications.ComplicationProviderService.ComplicationUpdateCallback

Overview

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

Summary

Methods
public voidonUpdateComplication(ComplicationData complicationData)

Sends the complicationData to the system.

Methods

public 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.