NoPermissionComplicationData.Builder


class NoPermissionComplicationData.Builder


Builder for NoPermissionComplicationData.

Summary

Public constructors

Public functions

open NoPermissionComplicationData

Builds the NoPermissionComplicationData.

NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

NoPermissionComplicationData.Builder
setSmallImage(smallImage: SmallImage?)

Sets optional image 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

Builder

Added in 1.0.0
Builder()

Public functions

build

Added in 1.0.0
open fun build(): NoPermissionComplicationData

Builds the NoPermissionComplicationData.

setMonochromaticImage

Added in 1.0.0
fun setMonochromaticImage(monochromaticImage: MonochromaticImage?): NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

setSmallImage

Added in 1.2.0
fun setSmallImage(smallImage: SmallImage?): NoPermissionComplicationData.Builder

Sets optional image associated with the complication data.

setText

Added in 1.0.0
fun setText(text: ComplicationText?): NoPermissionComplicationData.Builder

Sets optional text associated with the complication data.

setTitle

Added in 1.0.0
fun setTitle(title: ComplicationText?): NoPermissionComplicationData.Builder

Sets optional title associated with the complication data.