Package com.pubmatic.sdk.openwrap.core
Class POBManager
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.common.base.POBBidding
public class POBManager extends POBBaseBidder<T>This class is responsible for fetching the bids from PubMatic ad server. It gives callback to Publisher application via PMWrapperManagerListener. It also manages the bids for future rendering.
-
-
Field Summary
Fields Modifier and Type Field Description public Stringidentifier
-
Constructor Summary
Constructors Constructor Description POBManager(POBCommunicator<POBBid> communicator)Constructs Manager Deprecate in favour of <, > Deprecated a v3.0.0 and the support of this will be removed soon. POBManager(Context context, POBCommunicator<POBBid> communicator)Constructs the POBManager by initialising the required params POBManager(POBRequest adRequest, Context context)Constructor
-
Method Summary
Modifier and Type Method Description voidrequestBid()Execute the PubMatic ad request and notify via PMWrapperManagerListener instance POBAdResponse<POBBid>getAdResponse()voiddestroy()Release resources, clear maps and reset the adViews used. Map<String, POBBidderResult<POBBid>>getBidderResults()voidsetCountryFilterConfig(@Nullable() POBBaseBidder.CountryFilterConfig countryFilterConfig)-
-
Constructor Detail
-
POBManager
POBManager(POBCommunicator<POBBid> communicator)
Constructs Manager Deprecate in favour of <, > Deprecated a v3.0.0 and the support of this will be removed soon.- Parameters:
communicator- the instance of PMCommunicator
-
POBManager
POBManager(Context context, POBCommunicator<POBBid> communicator)
Constructs the POBManager by initialising the required params- Parameters:
context- the app contextcommunicator- the the communicator
-
POBManager
POBManager(POBRequest adRequest, Context context)
Constructor- Parameters:
adRequest- Valid POBRequest objectcontext- android context
-
-
Method Detail
-
requestBid
void requestBid()
Execute the PubMatic ad request and notify via PMWrapperManagerListener instance
-
getAdResponse
@Nullable() POBAdResponse<POBBid> getAdResponse()
-
destroy
void destroy()
Release resources, clear maps and reset the adViews used.
-
getBidderResults
@NonNull() Map<String, POBBidderResult<POBBid>> getBidderResults()
-
setCountryFilterConfig
void setCountryFilterConfig(@Nullable() POBBaseBidder.CountryFilterConfig countryFilterConfig)
-
-
-
-