Android 12 Developer Preview is here! Try it out, and give us your feedback!

Builder

class Builder
kotlin.Any
   ↳ androidx.wear.watchface.style.UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay.Builder

Summary

Public constructors
<init>(complicationId: Int)

Public methods
UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay

UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay.Builder

Overrides the complication's per ComplicationBounds.

UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay.Builder
setEnabled(enabled: Boolean)

Overrides the complication's enabled flag.

Public constructors

<init>

Builder(complicationId: Int)

Public methods

setComplicationBounds

fun setComplicationBounds(complicationBounds: ComplicationBounds): UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay.Builder

Overrides the complication's per ComplicationBounds.

setEnabled

fun setEnabled(enabled: Boolean): UserStyleSetting.ComplicationsUserStyleSetting.ComplicationOverlay.Builder

Overrides the complication's enabled flag.