AdServiceProviderInterface

Interface for AdServiceProvider.

You can use this interface in your application to mock AdServiceProvider in tests.

See also

Inheritors

Properties

Link copied to clipboard
abstract val isConfigured: Boolean

Indicates whether the AdService has been created and configured.

Functions

Link copied to clipboard
abstract suspend fun configure(networkId: String, parentCoroutineScope: CoroutineScope, configurationTimeout: UInt = DEFAULT_CONFIGURATION_TIMEOUT_SECONDS, cacheSize: UShort = DEFAULT_CACHE_SIZE_MB, globalParameters: GlobalParameters = GlobalParameters(), adRequestGlobalParameters: AdRequestGlobalParameters = AdRequestGlobalParameters()): AdResult<Unit>

Create and configure AdService with the passed parameters.

Link copied to clipboard
abstract fun get(): AdResult<AdService>

Method for getting a configured AdService.