TPNativeAdListener class
Constructors
-
TPNativeAdListener({required dynamic onAdLoaded(String adUnitId, Map adInfo), required dynamic onAdLoadFailed(String adUnitId, Map error), required dynamic onAdClicked(String adUnitId, Map adInfo), required dynamic onAdClosed(String adUnitId, Map adInfo), required dynamic oneLayerLoadFailed(String adUnitId, Map adInfo, Map error), required dynamic onAdImpression(String adUnitId, Map adInfo), required dynamic onAdShowFailed(String adUnitId, Map adInfo, Map error), dynamic onAdStartLoad(String adUnitId, Map adInfo)?, dynamic onBiddingStart(String adUnitId, Map adInfo)?, dynamic onBiddingEnd(String adUnitId, Map adInfo, Map error)?, dynamic onAdIsLoading(String adUnitId)?, dynamic oneLayerStartLoad(String adUnitId, Map adInfo)?, dynamic oneLayerLoaded(String adUnitId, Map adInfo)?, dynamic onAdAllLoaded(String adUnitId, bool isSuccess)?, dynamic onVideoPlayStart(String adUnitId, Map adInfo)?, dynamic onVideoPlayEnd(String adUnitId, Map adInfo)?, dynamic onDownloadStart(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?, dynamic onDownloadUpdate(String adUnitId, num totalBytes, num currBytes, String fileName, String appName, int progress)?, dynamic onDownloadPause(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?, dynamic onDownloadFinish(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?, dynamic onDownloadFail(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?, dynamic onInstall(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?})
-
const
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onAdAllLoaded
→ dynamic Function(String adUnitId, bool isSuccess)?
-
final
-
onAdClicked
→ dynamic Function(String adUnitId, Map adInfo)
-
final
-
onAdClosed
→ dynamic Function(String adUnitId, Map adInfo)
-
final
-
onAdImpression
→ dynamic Function(String adUnitId, Map adInfo)
-
final
-
onAdIsLoading
→ dynamic Function(String adUnitId)?
-
final
-
onAdLoaded
→ dynamic Function(String adUnitId, Map adInfo)
-
final
-
onAdLoadFailed
→ dynamic Function(String adUnitId, Map error)
-
final
-
onAdShowFailed
→ dynamic Function(String adUnitId, Map adInfo, Map error)
-
final
-
onAdStartLoad
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
onBiddingEnd
→ dynamic Function(String adUnitId, Map adInfo, Map error)?
-
final
-
onBiddingStart
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
onDownloadFail
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?
-
final
-
onDownloadFinish
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?
-
final
-
onDownloadPause
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?
-
final
-
onDownloadStart
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?
-
final
-
onDownloadUpdate
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName, int progress)?
-
final
-
oneLayerLoaded
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
oneLayerLoadFailed
→ dynamic Function(String adUnitId, Map adInfo, Map error)
-
final
-
oneLayerStartLoad
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
onInstall
→ dynamic Function(String adUnitId, num totalBytes, num currBytes, String fileName, String appName)?
-
final
-
onVideoPlayEnd
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
onVideoPlayStart
→ dynamic Function(String adUnitId, Map adInfo)?
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited