Class MainLink

  • All Implemented Interfaces:

    
    public final class MainLink
    extends Link
                        

    Enhanced link class with fallback URL support for main ad actions.

    This class extends Link to provide additional reliability for primary ad actions by including a fallback URL. If the main URL fails to open or is not accessible, the fallback URL can be used as an alternative.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MainLink()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getFallbackUrl() Alternative URL to use if the primary URL fails, set internally.
      • Methods inherited from class com.inmobi.media.ads.network.inmobiJson.model.Link

        getUrl
      • Methods inherited from class java.lang.Object

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

      • MainLink

        MainLink()
    • Method Detail

      • getFallbackUrl

         final String getFallbackUrl()

        Alternative URL to use if the primary URL fails, set internally.