MethodChannelGromoreFlutter class

MethodChannel 平台实现

Inheritance

Properties

adEventChannel EventChannel
广告事件通道
final
adEvents Stream
广告事件流
no setteroverride
enabledAdTypes Set<GromoreAdType>
启用的广告类型集合
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
logEventChannel EventChannel
日志事件通道
final
logEvents Stream
日志事件流
no setteroverride
methodChannel MethodChannel
方法通道
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disposeAd(String adId) Future<void>
销毁广告
override
init(GromoreConfig config) Future<PlatformInitResult>
初始化 SDK
override
invokeNative(String method, Map<String, dynamic>? args) Future
调用原生自定义方法
override
loadAd(GromoreAdType type, GromoreAdRequest request) Future<String>
加载广告
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLogEnabled(bool enabled) Future<void>
设置日志开关
override
setLogLevel(LogLevel level) Future<void>
设置日志级别
override
showAd(String adId) Future<void>
展示广告
override
toString() String
A string representation of this object.
inherited
updateEnabledAdTypes(Set<GromoreAdType> enabledTypes) → void
更新启用的广告类型集合
inherited

Operators

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