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

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

Sets optional icon associated with the complication data.

setText

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

Sets optional text associated with the complication data.

setTitle

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

Sets optional title associated with the complication data.