OSETAdSDK class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
platformVersion
→ Future<
String> -
获取系统版本号
no setter
Static Methods
-
checkAndReqPermission(
) → void - 请求权限 仅 Android
-
initAd(
{required String appKey, required bool debug}) → Future< InitAdResult> -
初始化广告SDK
appKey广告配置 appKeydebug是否为测试模式 -
initialized(
) → bool - 提供SDK初始化状态方法
-
invokeMethod(
{required String method, Map< String, dynamic> ? params}) → Future<bool> - Flutter通知原生端执行相应方法
Constants
- keyAdEvent → const String
- keyAdHeight → const String
- keyAdId → const String
- keyAdMsg → const String
- keyAdWidth → const String
- keyAppKey → const String
- keyIsDebug → const String
- keyPosId → const String
- keyRewardCount → const String
- keyRewardDownTime → const String
- keyToastMsg → const String
- keyUserId → const String
- methodCheckAndReqPermission → const String
- methodGetPlatformVersion → const String
- methodInit → const String
- methodLoadBannerAd → const String
- methodLoadNativeAd → const String
- methodLoadRewardVideoAd → const String
- methodLoadSplashAd → const String
- methodOnAdEvent → const String
- methodOnToast → const String
- methodReleaseAd → const String
- methodShowFullVideoAd → const String
- methodShowInterstitialAd → const String
- methodShowKsVideoFragment → const String
- methodShowVideoPage → const String
- methodStartLoadRewardVideoAd → const String
- viewTypeOSETBannerAd → const String
- viewTypeOSETNativeAd → const String