MethodChannelFlutterDaroSdk class
An implementation of FlutterDaroSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterDaroSdkPlatform
- MethodChannelFlutterDaroSdk
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to receive events from the native platform.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRewardAdListener(
String adUnit, DaroRewardAdListener listener) → void -
addRewardAdListener 리워드 광고 리스너 등록
override
-
disposeRewardAd(
DaroRewardAdType type, String adUnit) → Future< void> -
disposeRewardAd 리워드 광고 인스턴스 해제
override
-
getEventStream(
) → Stream< Map> ? - 이벤트 스트림 구독 (내부 사용)
-
initialize(
DaroSdkConfig config) → Future< void> -
SDK 초기화
override
-
loadRewardAd(
DaroRewardAdType type, String adUnit, {Map< String, dynamic> ? options}) → Future<bool> -
리워드 광고
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRewardAdListener(
String adUnit) → void -
removeRewardAdListener 리워드 광고 리스너 제거
override
-
setOptions(
DaroSdkOptions options) → Future< bool> -
SDK 옵션 설정
override
-
showRewardAd(
DaroRewardAdType type, String adUnit, {Map< String, dynamic> ? options}) → Future<bool> -
showRewardAd 리워드 광고 인스턴스 표시
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited