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

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 pending intent to be invoked when the complication is tapped.

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

setImage

fun setImage(image: MonochromaticImage?): NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

setTapAction

fun setTapAction(tapAction: PendingIntent?): NoPermissionComplicationData.Builder

Sets optional pending intent to be invoked when the complication is tapped.

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.