PhotoMetadataKt

public final class PhotoMetadataKt


Summary

Public methods

static final @NonNull PhotoMetadata
photoMetadata(
    @NonNull String photoReference,
    @ExtensionFunctionType Function1<@NonNull PhotoMetadata.BuilderUnit> actions
)

Builds a new PhotoMetadata.

Public methods

photoMetadata

public static final @NonNull PhotoMetadata photoMetadata(
    @NonNull String photoReference,
    @ExtensionFunctionType Function1<@NonNull PhotoMetadata.BuilderUnit> actions
)

Builds a new PhotoMetadata.

Parameters
@NonNull String photoReference

the reference identifying the underlying photo

@ExtensionFunctionType Function1<@NonNull PhotoMetadata.BuilderUnit> actions

the actions to apply to the PhotoMetadata.Builder

Returns
@NonNull PhotoMetadata

the constructed PhotoMetadata