SoundscapeBackendTileClient

Constructors

Link copied to clipboard
constructor(application: Application)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val retrofitInstance: Retrofit?

Functions

Link copied to clipboard
open override fun buildRetrofit(): Retrofit

buildRetrofit is called in the sub-class and is responsible for creating the correct type of Retrofit object. The SoundscapeBackendTiledClient returns a String type and the ProtomapsTileClient returns a VectorTile. That and the differing server URLs is taken care of in buildRetrofit.