NoPermissionComplicationData.Builder


public final class NoPermissionComplicationData.Builder


Builder for NoPermissionComplicationData.

Summary

Public constructors

Public methods

@NonNull NoPermissionComplicationData

Builds the NoPermissionComplicationData.

final @NonNull NoPermissionComplicationData.Builder

Sets optional icon associated with the complication data.

final @NonNull NoPermissionComplicationData.Builder

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

Added in 1.0.0
public Builder()

Public methods

setMonochromaticImage

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

Sets optional icon associated with the complication data.

setSmallImage

Added in 1.2.0
public final @NonNull NoPermissionComplicationData.Builder setSmallImage(SmallImage smallImage)

Sets optional image associated with the complication data.

setText

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

Sets optional text associated with the complication data.

setTitle

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

Sets optional title associated with the complication data.