Class OmidServiceRemoteSourceKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String fetchOmidScript(AdConfig.OmidConfig config) Fetches the OMID (Open Measurement Interface Definition) JavaScript from the network.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.