Metadata.Builder


public final class Metadata.Builder


A builder for Metadata.

Summary

Public constructors

Returns an empty Builder instance.

Returns a new Builder with the data from the given Metadata instance.

Public methods

@NonNull Metadata

Returns a Metadata instance defined by this builder.

@NonNull Metadata.Builder

Sets a Place used for showing Distance and PlaceMarker information.

Public constructors

Builder

Added in 1.0.0
public Builder()

Returns an empty Builder instance.

Builder

Added in 1.0.0
public Builder(@NonNull Metadata metadata)

Returns a new Builder with the data from the given Metadata instance.

Throws
java.lang.NullPointerException

if icon is null

Public methods

build

Added in 1.0.0
public @NonNull Metadata build()

Returns a Metadata instance defined by this builder.

setPlace

Added in 1.0.0
public @NonNull Metadata.Builder setPlace(@NonNull Place place)

Sets a Place used for showing Distance and PlaceMarker information.

Throws
java.lang.NullPointerException

if place is null