SplashAdIOSOptions class

iOS 平台开屏广告可选配置

平台差异说明:

  • supportCardView:卡片样式,仅iOS支持,Android不支持此UI形式
  • supportZoomOutView:Ads-CN 7.7 已移除对应 iOS 接口,当前会被忽略
  • hideSkipButton:控制跳过按钮显示,iOS特有配置
  • buttonType:点击区域类型,仅iOS的BUMSplashButtonType支持

参数传递策略: 当字段为 null 时,插件不会调用原生SDK的setter,保留SDK默认行为

Constructors

SplashAdIOSOptions({bool? supportCardView, bool? supportZoomOutView, bool? hideSkipButton, Map<String, dynamic>? mediaExt, Map<String, dynamic>? extraParams, int? buttonType, SplashAdFallback? fallback})
const

Properties

buttonType → int?
点击区域类型(BUMSplashButtonType) (@ios 仅iOS支持) 1=全屏可点,2=下载条可点
final
extraParams → Map<String, dynamic>?
通过 mediation.addParam 传递的参数 (@ios iOS专属)
final
fallback → SplashAdFallback?
自定义兜底配置
final
hashCode → int
The hash code for this object.
no setterinherited
hideSkipButton → bool?
是否隐藏跳过按钮 (@ios 仅iOS支持)
final
mediaExt → Map<String, dynamic>?
透传给 SDK 的 mediaExt (@ios iOS专属)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportCardView → bool?
是否支持卡片样式 (@ios 仅iOS支持)
final
supportZoomOutView → bool?
兼容旧代码保留。Ads-CN 7.7 已移除对应 iOS 接口,当前会被忽略。
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited