Class Attribution
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.Attribution
class Attribution implements Serializable
Details about the source of information.
Nested Class Summary
|
Modifier and Type |
Interface |
Description |
|
|
||
|
|
Summary
Constructors
|
Signature and Description |
|
Attribution() |
|
Attribution(@Nullable Author author, |
Methods
|
Type and modifiers |
Method and Description |
|
|
getAuthor() |
|
|
getLink() |
|
|
getAvatarImage() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
|
Constuctors
Attribution
|
Attribution() |
Use constructor with parameters in your code.
This one is for serialization only!
Attribution
|
Attribution(@Nullable Author author, |
Methods
getAuthor
|
@Nullable |
Additional information about the author.
Optional field, can be null.
getLink
|
@Nullable |
Link to a specific page on the author's site.
To link to the website as a whole, use author.uri.
Optional field, can be null.
getAvatarImage
|
@Nullable |
Optional field, can be null.
serialize
|
@Override |
getNativeName
|
java.lang.String getNativeName() |