AuthorAttributionKt

public final class AuthorAttributionKt


Summary

Public methods

static final @NonNull AuthorAttribution

This method is deprecated. Update your code to use the Place Details component in Places UI Kit, which provides a pre-built UI to display place details including photos and reviews that automatically handles required attributions.

Public methods

authorAttribution

public static final @NonNull AuthorAttribution authorAttribution(
    @NonNull String name,
    @ExtensionFunctionType Function1<@NonNull AuthorAttribution.Builder, Unit> actions
)

Builds a new AuthorAttribution.

Parameters
@NonNull String name

the name of the author

@ExtensionFunctionType Function1<@NonNull AuthorAttribution.Builder, Unit> actions

the actions to apply to the AuthorAttribution.Builder

Returns
@NonNull AuthorAttribution

the constructed AuthorAttribution