Metadata.Builder


class Metadata.Builder


A builder for Metadata.

Summary

Public constructors

Returns an empty Builder instance.

Builder(metadata: Metadata)

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

Public functions

Metadata

Returns a Metadata instance defined by this builder.

Metadata.Builder
setPlace(place: Place)

Sets a Place used for showing Distance and PlaceMarker information.

Public constructors

Builder

Added in 1.0.0
Builder()

Returns an empty Builder instance.

Builder

Added in 1.0.0
Builder(metadata: Metadata)

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

Throws
java.lang.NullPointerException

if icon is null

Public functions

build

Added in 1.0.0
fun build(): Metadata

Returns a Metadata instance defined by this builder.

setPlace

Added in 1.0.0
fun setPlace(place: Place): Metadata.Builder

Sets a Place used for showing Distance and PlaceMarker information.

Throws
java.lang.NullPointerException

if place is null