FetchPhotoRequestKt

public final class FetchPhotoRequestKt


Summary

Public methods

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

Builds a new FetchPhotoRequest.

Public methods

fetchPhotoRequest

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

Builds a new FetchPhotoRequest.

Parameters
@NonNull PhotoMetadata photoMetadata

the metadata for the requested photo

@ExtensionFunctionType Function1<@NonNull FetchPhotoRequest.BuilderUnit> actions

the actions to apply to the FetchPhotoRequest.Builder

Returns
@NonNull FetchPhotoRequest

the constructed FetchPhotoRequest