Package com.pubmatic.sdk.common.base
Class POBBidderResult
-
- All Implemented Interfaces:
public class POBBidderResult<T extends POBAdDescriptor>Class definition to maintain metadata of bidder like adResponse details , error details
-
-
Field Summary
Fields Modifier and Type Field Description public POBAdResponse<T>adResponsepublic POBErrorerrorpublic POBNetworkResultnetworkResult
-
Constructor Summary
Constructors Constructor Description POBBidderResult()
-
Method Summary
Modifier and Type Method Description POBAdResponse<T>getAdResponse()To get ad response of the bidder if present voidsetAdResponse(@Nullable() POBAdResponse<T> adResponse)To set ad response for the bidder POBErrorgetError()To get error for the bidder if present voidsetError(@Nullable() POBError error)To set ad error for the bidder POBNetworkResultgetNetworkResult()To get network result for the bidder voidsetNetworkResult(@Nullable() POBNetworkResult networkResult)To set ad network result for the bidder StringtoString()Returns the string format of the Bidder Result -
-
Method Detail
-
getAdResponse
@Nullable() POBAdResponse<T> getAdResponse()
To get ad response of the bidder if present
- Returns:
the ad response
-
setAdResponse
void setAdResponse(@Nullable() POBAdResponse<T> adResponse)
To set ad response for the bidder
- Parameters:
adResponse- the instance of POBAdResponse
-
getError
@Nullable() POBError getError()
To get error for the bidder if present
- Returns:
instance of POBError
-
setError
void setError(@Nullable() POBError error)
To set ad error for the bidder
- Parameters:
error- the instance of POBError
-
getNetworkResult
@Nullable() POBNetworkResult getNetworkResult()
To get network result for the bidder
- Returns:
instance of POBNetworkResult
-
setNetworkResult
void setNetworkResult(@Nullable() POBNetworkResult networkResult)
To set ad network result for the bidder
- Parameters:
networkResult- the instance of POBNetworkResult
-
-
-
-