Class POBResource

  • All Implemented Interfaces:
    com.pubmatic.sdk.video.xmlserialiser.POBXMLNodeListener

    
    public class POBResource
     implements POBXMLNodeListener
                        

    Class to represent non video resource associated with Non-Linear or Companion creative.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      POBResource()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void build(@NonNull() POBNodeBuilder builder) POBXMLParser calls this method to build model class object with node builder
      POBResource.ResourceType getResourceType() Returns the type of resource
      String getResource() Returns the content of resource
      String getCreativeType() Returns the type of static creative
      • Methods inherited from class java.lang.Object

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

      • POBResource

        POBResource()
    • Method Detail

      • build

         void build(@NonNull() POBNodeBuilder builder)

        POBXMLParser calls this method to build model class object with node builder

        Parameters:
        builder - Instance of POBNodeBuilder, to be used for building the model class object
      • getResourceType

        @Nullable() POBResource.ResourceType getResourceType()

        Returns the type of resource

        Returns:

        ResourceType value