GTAdsYlhProvider class
@Author: gstory @CreateDate: 2022/8/19 14:24 @Email gstory0404@gmail.com @Description: 优量汇广告支持
- Inheritance
-
- Object
- GTAdsProvider
- GTAdsYlhProvider
Constructors
Properties
- androidId ↔ String?
-
getter/setter pairinherited
-
androidPrivacy
↔ Map<
String, bool> ? -
getter/setter pair
- enableCollectAppInstallStatus ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosId ↔ String?
-
getter/setter pairinherited
- ohosId ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
横幅广告
override
-
getAlias(
) → String -
inherited
-
initAd(
bool isDebug) → Future< bool> -
初始化广告
override
-
insertAd(
GTAdsCode adCode, bool isFull, GTAdsCallBack? callBack) → StreamSubscription? -
插屏广告
注意: 返回StreamSubscription 插屏广告监听
如果广告不提供 则
return null;
override
-
nativeAd(
GTAdsCode adCode, double width, double height, GTAdsCallBack? callBack) → Widget? -
信息流广告
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rewardAd(
GTAdsCode adCode, String rewardName, int rewardAmount, String userId, String customData, GTAdsCallBack? callBack) → StreamSubscription? -
激励广告
注意: 返回StreamSubscription 激励广告监听
如果广告不提供 则
return null;
override
-
splashAd(
GTAdsCode adCode, double width, double height, GTAdsCallBack? callBack) → Widget? -
开屏广告
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited