amps_sdk_export library

Classes

AdCallBack
广告回调相关接口
AdOptions
广告加载入参参数
AMPSAdSDK
SDK初始化入口类
AMPSAdVideoPlayConfig
广告视频播放配置
AMPSBuilder
假设已定义以下依赖类/枚举
AMPSControllerKey
AMPSCustomController
用户控制类. 重写相关方法设置SDK可用内容
AMPSCustomControllerParam
AMPSCustomController 的参数类
AMPSIInitCallBack
  • 定义回调接口(抽象类)
  • AMPSInitConfig
    AMPSInitConfig类,用于表示初始化配置
    AMPSInitConfigKey
    AMPSInterstitialAd
    插屏广告对象入口类
    AMPSLocation
    记录三方传入的位置信息,用于上报
    AMPSLocationKey
    AMPSNativeAd
    原生广告类
    AMPSSplashAd
    开屏广告类
    AppDetail
    应用下载六要素
    CountryType
    初始化设置, 国家类型选项
    CurrencyType
    支持的货币类型
    ImageComponent
    图标
    InterstitialWidget
    插屏组件
    NativeWidget
    OptionFieldKey
    SplashBottomWidget
    开屏底部自定义组件
    SplashWidget
    StrUtil
    假设的工具类
    TextComponent
    文字
    UnifiedWidget

    Enums

    CoordinateType
    坐标系类型
    ScreenMode
    提供给Android使用 屏幕广告区域模式 (Splash Ad Display Mode) 用于定义开屏广告 View 的绘制边界和高度计算方式。
    UiModel
    UI模式【自动、黑色、浅色】
    UnderageTag
    适龄标记

    Typedefs

    AdFailureCallback = void Function(int code, String message)
    AdSuccessCallback = void Function()
    AdWidgetNeedCloseCall = void Function()
    组件关闭通知接口
    AlreadyInitCallBack = void Function()
    InitFailedCallBack = void Function(int? code, String? msg)
    InitializingCallBack = void Function()
    InitSuccessCallBack = void Function()
    VideoPlayErrorCallback = void Function(int code, String message)
    VideoSkipToEndCallback = void Function(int? playDurationMs)