Class OmidServiceRemoteSourceKt
-
- All Implemented Interfaces:
public final class OmidServiceRemoteSourceKt
-
-
Method Summary
Modifier and Type Method Description final static StringfetchOmidScript(AdConfig.OmidConfig config)Fetches the OMID (Open Measurement Interface Definition) JavaScript from the network. -
-
Method Detail
-
fetchOmidScript
final static String fetchOmidScript(AdConfig.OmidConfig config)
Fetches the OMID (Open Measurement Interface Definition) JavaScript from the network.
This function retrieves the OMID JavaScript from the URL specified in the AdConfig.OmidConfig. It uses a NetworkRequest to make the network call and handles retries based on the configuration.
- Parameters:
config- The OMID configuration containing the URL, max retries, and retry interval.- Returns:
The OMID JavaScript as a String.
-
-
-
-