Interface POBVastParserListener

  • All Implemented Interfaces:

    
    public interface POBVastParserListener
    
                        

    Interface provides callbacks for VAST Parser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(@NonNull() POBVast vast) Success callback called when VAST Parsing in successful and found an Inline Ad
      abstract void onFailure(@Nullable() POBVast vast, @NonNull() POBVastError error) Failure callback called when VAST Parsing in fail or wrapper threshold has been reached with appropriate error.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onSuccess

         abstract void onSuccess(@NonNull() POBVast vast)

        Success callback called when VAST Parsing in successful and found an Inline Ad

        Parameters:
        vast - Instance of POBVast model class
      • onFailure

         abstract void onFailure(@Nullable() POBVast vast, @NonNull() POBVastError error)

        Failure callback called when VAST Parsing in fail or wrapper threshold has been reached with appropriate error. In case when wrapper threshold error, vast object is also provide to notify error to ad server.

        Parameters:
        vast - Instance of POBVast model class
        error - Instance of POBVastError having the error details