Package com.pubmatic.sdk.common.base
Interface POBResponseParsing
-
- All Implemented Interfaces:
public interface POBResponseParsing<T extends POBAdDescriptor>Interface to declare the protocol for parser.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePOBResponseParsing.POBResponseParserListenerListener class to get the callback after parsing
-
Method Summary
Modifier and Type Method Description abstract voidsetListener(@NonNull() POBResponseParsing.POBResponseParserListener<T> listener)Sets the listener instance to get the callback after parsing abstract voidparse(@Nullable() JSONObject input)Initiates the parsing -
-
Method Detail
-
setListener
abstract void setListener(@NonNull() POBResponseParsing.POBResponseParserListener<T> listener)
Sets the listener instance to get the callback after parsing
- Parameters:
listener- listener instance
-
parse
abstract void parse(@Nullable() JSONObject input)
Initiates the parsing
- Parameters:
input- JSON to be parse
-
-
-
-