OptiViewAdsExternalVendors

class OptiViewAdsExternalVendors(config: OptiViewAdsExternalVendorsConfig, scope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.Default), manifestSource: ManifestSource = HttpManifestSource(scope), clock: Clock = systemClock)

Fetches and tracks external vendor parameters without starting playback.

Constructors

Link copied to clipboard
constructor(config: OptiViewAdsExternalVendorsConfig, scope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.Default), manifestSource: ManifestSource = HttpManifestSource(scope), clock: Clock = systemClock)

Functions

Link copied to clipboard

Registers a listener for external vendor configuration changes.

Link copied to clipboard
fun destroy()

Stops polling and removes all event and diagnostic listeners.

Link copied to clipboard

Produce a self-contained, redacted report for support and troubleshooting.

Link copied to clipboard

Returns defensive copies of all configurations in manifest order.

Returns a defensive copy of one exact, case-sensitive provider configuration.

Link copied to clipboard

Removes a previously registered diagnostic listener.

Link copied to clipboard

Registers a listener for SDK diagnostics.

Link copied to clipboard

Removes a previously registered event listener.

Link copied to clipboard
suspend fun start()

Fetches the initial manifest and starts manifest polling when configured.

Link copied to clipboard
fun stop()

Stops polling and clears current vendor configurations without emitting changes.

Link copied to clipboard

Merges or removes lazy macro callbacks by name.

Link copied to clipboard

Merges or removes typed macro callbacks by name.

Link copied to clipboard

Replaces application-supplied asset parameters.