MethodChannelS2OfferwallFlutter class
An implementation of S2OfferwallFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- S2OfferwallFlutterPlatform
- MethodChannelS2OfferwallFlutter
Constructors
Properties
- eventChannel → EventChannel
-
final
-
events
→ Stream<
Map< String, dynamic> > -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
-
onInitCompleted
→ Stream<
bool> -
no setterinherited
-
onLoginRequested
→ Stream<
String> -
no setterinherited
-
onPermissionRequested
→ Stream<
String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeAll(
) → Future< void> -
override
-
closeTop(
) → Future< void> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getUserName(
) → Future< String> -
override
-
initSdk(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAdItem(
int advId, bool needDetail, String placementFrom) → Future< void> -
override
-
presentATTPopup(
) → Future< void> -
override
-
requestOfferwallData(
String placementName, bool isEmbeded) → Future< String> -
override
-
resetUserName(
) → Future< void> -
override
-
setAppId(
String appId) → Future< void> -
override
-
setAppIdForAndroid(
String appId) → Future< void> -
override
-
setAppIdForIOS(
String appId) → Future< void> -
override
-
setConsentDialogRequired(
bool required) → Future< void> -
override
-
setUserName(
String username, [String displayName = ""]) → Future< void> -
override
-
showOfferwall(
String placementName) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited