Google is committed to advancing racial equity for Black communities. See how.

DrawMode

enum class DrawMode
kotlin.Any
   ↳ kotlin.Enum<androidx.wear.watchface.DrawMode>
   ↳ androidx.wear.watchface.DrawMode

Summary

Enum values

In this mode as few pixels as possible should be turned on, ideally with darker colors.

This mode is used when the user is interacting with the watch face.

This mode is used when the user is interacting with the watch face but the battery is low, the watch face should render fewer pixels, ideally with darker colors.

This mode is used when there's an interruption filter.

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

AMBIENT

enum val AMBIENT : DrawMode

In this mode as few pixels as possible should be turned on, ideally with darker colors.

INTERACTIVE

enum val INTERACTIVE : DrawMode

This mode is used when the user is interacting with the watch face.

LOW_BATTERY_INTERACTIVE

enum val LOW_BATTERY_INTERACTIVE : DrawMode

This mode is used when the user is interacting with the watch face but the battery is low, the watch face should render fewer pixels, ideally with darker colors.

MUTE

enum val MUTE : DrawMode

This mode is used when there's an interruption filter. The watch face should look muted.