getCopyrights

abstract fun getCopyrights(callback: OnCopyrightsFetchedCallback): Cancellable

Gets the map copyright contents asynchronously.

Return

Cancellable operation.

Parameters

callback

The OnCopyrightsFetchedCallback invoked when the fetching operation has finished either successfully or with an error.


abstract fun getCopyrights(): Result<String, CopyrightsFetchingFailure>

Gets the map copyright contents synchronously.

Return

The Result which in case of success contains the contents of the copyrights. In case of error contains CopyrightsFetchingFailure instance.