CanvasComplication.InvalidateCallback


interface CanvasComplication.InvalidateCallback


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

Summary

Public functions

Unit

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

Public functions

onInvalidate

Added in 1.0.0
Deprecated in 1.3.0-alpha06
fun onInvalidate(): Unit

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