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

LayerMode

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

Used to parameterize per layer drawing.

Summary

Enum values

This layer should be rendered normally.

This layer should be rendered with highlighting (used by the editor).

This layer should not be drawn.

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

DRAW

enum val DRAW : LayerMode

This layer should be rendered normally.

DRAW_HIGHLIGHTED

enum val DRAW_HIGHLIGHTED : LayerMode

This layer should be rendered with highlighting (used by the editor). See also RenderParameters.highlightedComplicationId for use in combination with Layer.COMPLICATIONS.

HIDE

enum val HIDE : LayerMode

This layer should not be drawn.