Class POBVastParser

  • All Implemented Interfaces:

    
    public class POBVastParser
    
                        

    Class is responsible for vast xml parsing. Supported versions - 2.0 and above.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void parse(@NonNull() String content) Parse the vast response.
      void setWrapperTimeout(int wrapperTimeout) Wrapper Url timeout
      • Methods inherited from class java.lang.Object

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

      • POBVastParser

        POBVastParser(POBNetworkHandler networkHandler, int attempts, POBVastParserListener parserListener)
        Constructor
        Parameters:
        networkHandler - Instance of network handler
        attempts - Maximum attempts for wrapper handling
        parserListener - listener to get parsing callbacks
    • Method Detail

      • parse

         void parse(@NonNull() String content)

        Parse the vast response.

        Parameters:
        content - Content to parse
      • setWrapperTimeout

         void setWrapperTimeout(int wrapperTimeout)

        Wrapper Url timeout

        Parameters:
        wrapperTimeout - the wrapperTimeout in millisecond's