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

Builder

class Builder
kotlin.Any
   ↳ androidx.wear.complications.data.NoPermissionComplicationData.Builder

Builder for NoPermissionComplicationData.

You must at a minimum set the tapAction.

Summary

Public constructors

Builder for NoPermissionComplicationData.

Public methods
NoPermissionComplicationData

Builds the NoPermissionComplicationData.

NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

NoPermissionComplicationData.Builder

Sets optional text associated with the complication data.

NoPermissionComplicationData.Builder

Sets optional title associated with the complication data.

Public constructors

<init>

Builder()

Builder for NoPermissionComplicationData.

You must at a minimum set the tapAction.

Public methods

setMonochromaticImage

fun setMonochromaticImage(monochromaticImage: MonochromaticImage?): NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

setText

fun setText(text: ComplicationText?): NoPermissionComplicationData.Builder

Sets optional text associated with the complication data.

setTitle

fun setTitle(title: ComplicationText?): NoPermissionComplicationData.Builder

Sets optional title associated with the complication data.