Interface POBVastParserListener
-
- All Implemented Interfaces:
public interface POBVastParserListenerInterface provides callbacks for VAST Parser
-
-
Method Summary
Modifier and Type Method Description abstract voidonSuccess(@NonNull() POBVast vast)Success callback called when VAST Parsing in successful and found an Inline Ad abstract voidonFailure(@Nullable() POBVast vast, @NonNull() POBVastError error)Failure callback called when VAST Parsing in fail or wrapper threshold has been reached with appropriate error. -
-
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 classerror- Instance of POBVastError having the error details
-
-
-
-