RegionProviderChain

Composite RegionProvider that delegates to a chain of providers. providers are consulted in the order given and the first region found is returned

Parameters

providers

the list of providers to delegate to

Constructors

Link copied to clipboard
constructor(providers: List<RegionProvider>)
constructor(vararg providers: RegionProvider)

Functions

Link copied to clipboard
open suspend override fun getRegion(): String?

Return the region name to use. If region information is not available, implementations should return null

Link copied to clipboard
open override fun toString(): String