ComplicationDataSourceService.ComplicationRequestListener

interface ComplicationDataSourceService.ComplicationRequestListener


Callback for onComplicationRequest.

Summary

Public methods

abstract void

Sends the complicationData to the system.

Public methods

onComplicationData

@NonNull
public abstract void onComplicationData(@Nullable 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.