Class Resource

  • All Implemented Interfaces:

    
    public final class Resource
    
                        

    Data model representing a companion ad creative resource.

    This class encapsulates a single creative resource that can be used to display a companion advertisement. Resources can be of different types (static images, HTML content, etc.) and contain the actual creative content or reference to it.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Resource(Byte creativeType, String content)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Byte getCreativeType()
      final String getContent()
      • Methods inherited from class java.lang.Object

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

      • Resource

        Resource(Byte creativeType, String content)
        Parameters:
        creativeType - The CompanionType indicating the type of companion creative
        content - The creative content (HTML markup, image URL, etc.