Builder

open fun Builder(@Nullable uniqueId: String)

Parameters

uniqueId

A unique id for this location. A null or empty string will set an auto-generated one


open fun Builder(@NonNull srcLocation: MPLocation)

Sets up a new builder using another MPLocation as a starting point

This will create a new MPLocation object keeping all the given one's data

Data can then be altered using the builder's methods as usual

Parameters

srcLocation

The source MPLocation