CanvasComplication.InvalidateCallback

interface CanvasComplication.InvalidateCallback


Interface for observing when a CanvasComplication needs the screen to be redrawn.

Summary

Public methods

abstract void

Signals that the complication needs to be redrawn.

Public methods

onInvalidate

@NonNull
public abstract void onInvalidate()

Signals that the complication needs to be redrawn. Can be called on any thread.