CanvasComplication.InvalidateCallback


public interface CanvasComplication.InvalidateCallback


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

Summary

Public methods

abstract void

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public methods

onInvalidate

Added in 1.0.0
Deprecated in 1.3.0-alpha06
abstract void onInvalidate()

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