ComplicationPersistencePolicies


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.