MethodChannelFanmeter class

An implementation of FanmeterPlatform that uses method channels.

Inheritance

Constructors

MethodChannelFanmeter()
Constructs a MethodChannelFanmeter.

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
onNotificationClick → Stream<Map<String, String>>
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attachWebInterface(int webViewIdentifier, void onCloseRequested()?) → Future<void>
Hands the native WebView identified by webViewIdentifier to the native SDK's own FanmeterWebInterface, which installs the window.FanmeterBridge bridge on it. onCloseRequested is invoked when the web layer calls closeWebView().
override
execute(Map<String, String> extras, String? notificationClassResponse) → Future<(int?, int?)>
override
getEventData(String? eventTitle) → Future<Map<String, dynamic>>
override
getInitialNotificationClick() → Future<Map<String, String>?>
override
initialize(Map<String, String> initializeDataMap, bool? log) → Future<String?>
override
isServiceRunning() → Future<(bool, int?)>
override
launchFanmeterNotification(Map<String, String> notificationData, String? notificationClassResponse) → Future<int>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startService(int eventId, String? notificationClassResponse) → Future<int>
override
stopService() → Future<int>
override
subscribeUserParticipationListener(int eventId, dynamic callback(int)) → Future<void>
override
toString() → String
A string representation of this object.
inherited
unsubscribeUserParticipationListener(int? eventId) → Future<int>
override

Operators

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