Class POBVastParser
-
- All Implemented Interfaces:
public class POBVastParserClass is responsible for vast xml parsing. Supported versions - 2.0 and above.
-
-
Constructor Summary
Constructors Constructor Description POBVastParser(POBNetworkHandler networkHandler, int attempts, POBVastParserListener parserListener)Constructor
-
Method Summary
Modifier and Type Method Description voidparse(@NonNull() String content)Parse the vast response. voidsetWrapperTimeout(int wrapperTimeout)Wrapper Url timeout -
-
Constructor Detail
-
POBVastParser
POBVastParser(POBNetworkHandler networkHandler, int attempts, POBVastParserListener parserListener)
Constructor- Parameters:
networkHandler- Instance of network handlerattempts- Maximum attempts for wrapper handlingparserListener- 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
-
-
-
-