deepadx_sdk library

DeepAdx Flutter 聚合广告 SDK。

支持五种广告形态:

快速接入:

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await DeepAdxFlutterSdk.init(appId: '你的 AppID');
  runApp(const MyApp());
}

Classes

DeepAdxAd
所有广告形态的基类。
DeepAdxBanner
横幅广告控制器。
DeepAdxBannerView
横幅广告视图。
DeepAdxError
DeepAdx 聚合层统一错误信息。
DeepAdxFlutterSdk
DeepAdx Flutter SDK 全局入口。
DeepAdxInitResult
SDK 初始化结果。
DeepAdxInterstitial
插屏广告控制器(无视图,直接全屏展示)。
DeepAdxNativeExpress
原生信息流广告控制器。
DeepAdxNativeExpressView
原生信息流广告视图。
DeepAdxRewardServerInf
激励视频服务端回调信息。
DeepAdxRewardVideo
激励视频广告控制器(无视图,直接全屏展示)。
DeepAdxSplash
开屏广告控制器。
DeepAdxSplashView
开屏广告视图。

Enums

DeepAdxLogLevel
SDK 日志级别。
DeepAdxRewardOrientation
激励视频方向。

Typedefs

DeepAdxClickedCallback = void Function()
广告点击回调。
DeepAdxCloseCallback = void Function()
广告关闭回调。
DeepAdxExposureCallback = void Function()
广告曝光回调。
DeepAdxFailedCallback = void Function(DeepAdxError error)
广告失败回调,携带统一错误码(2000–2017)。
DeepAdxRenderFailedCallback = void Function()
原生信息流广告渲染失败回调。
DeepAdxRenderSuccessCallback = void Function()
原生信息流广告渲染成功回调。
DeepAdxRewardCallback = void Function()
激励视频奖励发放回调。
DeepAdxRewardServerInfCallback = void Function(DeepAdxRewardServerInf inf)
激励视频服务端回调信息回调。
DeepAdxSplashCountdownCallback = void Function()
开屏倒计时结束回调。
DeepAdxSplashSkipCallback = void Function()
开屏广告回调。
DeepAdxSucceedCallback = void Function()
广告加载成功回调。
DeepAdxVideoCompleteCallback = void Function()
激励视频播放完成回调。