NoPermissionComplicationData.Builder

public final class NoPermissionComplicationData.Builder


Builder for NoPermissionComplicationData.

You must at a minimum set the tapAction.

Summary

Public constructors

Public methods

final @NonNull NoPermissionComplicationData

Builds the NoPermissionComplicationData.

final @NonNull NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

final @NonNull NoPermissionComplicationData.Builder

Sets optional text associated with the complication data.

final @NonNull NoPermissionComplicationData.Builder

Sets optional title associated with the complication data.

Public constructors

Builder

public final Builder()

Public methods

setMonochromaticImage

public final @NonNull NoPermissionComplicationData.Builder setMonochromaticImage(MonochromaticImage monochromaticImage)

Sets optional icon associated with the complication data.

setText

public final @NonNull NoPermissionComplicationData.Builder setText(ComplicationText text)

Sets optional text associated with the complication data.

setTitle

public final @NonNull NoPermissionComplicationData.Builder setTitle(ComplicationText title)

Sets optional title associated with the complication data.