Builder

Builder for constructing a TMDiscoveryAPI instance.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val scope: Scope

Functions

Link copied to clipboard

Sets the API key for the Discovery API.

Link copied to clipboard

Builds a TMDiscoveryAPI instance with the configured settings.

suspend fun build(tmxDeploymentRegion: TMXDeploymentRegion, fallbackMarket: TMMarketDomain, context: Context): TMDiscoveryAPI

Builds a TMDiscoveryAPI instance with authentication and market settings.

Link copied to clipboard
open override fun getKoin(): Koin
Link copied to clipboard

Sets the market domain for the Discovery API.

Link copied to clipboard
open fun setContext(context: Context)