biddingResult method
Implementation
void biddingResult(FlutterTencentBiddingResult result){
//竞价成功
if(result.isSuccess){
_methodChannel?.invokeMethod('biddingSucceeded', {
'expectCostPrice': result.expectCostPrice,
'highestLossPrice': result.highestLossPrice,
});
//竞价失败
}else{
_methodChannel?.invokeMethod('biddingSucceeded', {
'winPrice': result.winPrice,
'lossReason': result.lossReason,
'adnId': result.adnId,
});
}
}