AttributionParser

open class AttributionParser

Responsible for parsing attribution data coming from Sources and MapSnapshot.

Exposes multiple configuration options to manipulate data being parsed. Use the Options object to build these configurations.

Types

Companion
Link copied to clipboard
object Companion

Static variables and methods.

Options
Link copied to clipboard
class Options(context: Context)

Builder to configure using an AttributionParser.

Functions

createAttributionString
Link copied to clipboard
fun createAttributionString(shortenedOutput: Boolean = false): String

Get parsed attribution string.

getAttributions
Link copied to clipboard
fun getAttributions(): Set<Attribution>

Get parsed attributions.