Class Link

  • All Implemented Interfaces:

    
    public class Link
    
                        

    Base class for handling click actions in native ad assets.

    This open class provides the fundamental structure for click handling in native ads. It contains the primary URL that should be opened when a user interacts with an ad asset.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String url
    • Constructor Summary

      Constructors 
      Constructor Description
      Link()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUrl() The primary URL to be opened when the associated asset is clicked.
      • Methods inherited from class java.lang.Object

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

      • Link

        Link()
    • Method Detail

      • getUrl

         final String getUrl()

        The primary URL to be opened when the associated asset is clicked.