PanglePlugin class

Pangle Ad Plugin

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

getAndroidDeviceInfo() Future<AndroidDeviceInfo>
获取AndroidSDKVersion
getIOSDeviceInfo() Future<IOSDeviceInfo>
获取SDK版本号
getSdkVersion() Future<String?>
获取SDK版本号
getThemeStatus() Future<PangleTheme>
获取当前主题类型 0:正常模式;1:夜间模式
getTrackingAuthorizationStatus() Future<PangleAuthorizationStatus?>
Returns information about your application’s tracking authorization status.
init({IOSConfig? iOS, AndroidConfig? android}) Future<PangleResult>
Register the App key that’s already been applied before requesting an ad from TikTok Audience Network.
loadFeedAd({IOSFeedConfig? iOS, AndroidFeedConfig? android}) Future<PangleAd>
Request feed ad data.
loadFullscreenVideoAd({IOSFullscreenVideoConfig? iOS, AndroidFullscreenVideoConfig? android, PangleEventCallback? callback}) Future<PangleResult>
Request full screen video ad data.
loadInterstitialAd({IOSInterstitialConfig? iOS, AndroidInterstitialConfig? android, PangleEventCallback? callback}) Future<PangleResult>
Request interstitial ad data.
loadRewardedVideoAd({IOSRewardedVideoConfig? iOS, AndroidRewardedVideoConfig? android, PangleEventCallback? callback}) Future<PangleVerifyResult>
Display video ad.
loadSplashAd({IOSSplashConfig? iOS, AndroidSplashConfig? android}) Future<PangleSplashResult>
Load splash ad datas.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFeedAd(List<String> ids) Future<int?>
Remove feed ad references ids feed id, see loadFeedAd return count of removed
requestPermissionIfNecessary() Future<void>
请求权限(仅国内Android)
requestTrackingAuthorization() Future<PangleAuthorizationStatus?>
Request user tracking authorization with a completion handler returning the user's authorization status. Users are able to grant or deny developers tracking privileges on a per-app basis.This method allows developers to determine if access has been granted. On first use, this method will prompt the user to grant or deny access.
setThemeStatus(PangleTheme theme) Future<PangleTheme>
设置主题类型 theme 0:正常模式;1:夜间模式;默认为0;传非法值,按照0处理
toString() String
A string representation of this object.
inherited

Operators

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