ComplicationPersistencePolicies


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

object ComplicationPersistencePolicies


The policies that control complication persistence.

Summary

Constants

const Int

The default policy is that persistence/caching is allowed.

const Int

Instructs the system to not persist the complication past a reboot.

Constants

CACHING_ALLOWED

Added in 1.2.0
const val CACHING_ALLOWED = 0: Int

The default policy is that persistence/caching is allowed.

DO_NOT_PERSIST

Added in 1.2.0
const val DO_NOT_PERSIST = 1: Int

Instructs the system to not persist the complication past a reboot. This is useful when freshness is important.