Package com.yandex.mapkit

Class Attribution

java.lang.Object
    ↳ com.yandex.mapkit.Attribution

class Attribution implements Serializable

Details about the source of information.

Nested Class Summary

Modifier and Type

Interface

Description

static

Author

static

Link

Summary

Constructors

Signature and Description

Attribution(@Nullable Author author,
            @Nullable Link link)

Attribution()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

Author

getAuthor()
Additional information about the author.

Link

getLink()
Link to a specific page on the author's site.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

Attribution(@Nullable Author author,
            @Nullable Link link)


Attribution

Attribution()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getAuthor

@Nullable
Author getAuthor()

Additional information about the author.

Optional field, can be null.


@Nullable
Link getLink()

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.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


Предыдущая
Следующая