FanmeterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FanmeterPlatform
Implementers

Constructors

FanmeterPlatform()
Constructs a FanmeterPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
onNotificationClick → Stream<Map<String, String>>
no setter
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().
execute(Map<String, String> extras, String? notificationClassResponse) → Future<(int?, int?)>
getEventData(String? eventTitle) → Future<Map<String, dynamic>>
getInitialNotificationClick() → Future<Map<String, String>?>
initialize(Map<String, String> initializeDataMap, bool? log) → Future<String?>
isServiceRunning() → Future<(bool, int?)>
launchFanmeterNotification(Map<String, String> notificationData, String? notificationClassResponse) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startService(int eventId, String? notificationClassResponse) → Future<int>
stopService() → Future<int>
subscribeUserParticipationListener(int eventId, dynamic callback(int)) → Future<void>
toString() → String
A string representation of this object.
inherited
unsubscribeUserParticipationListener(int? eventId) → Future<int>

Operators

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

Static Properties

instance ↔ FanmeterPlatform
The default instance of FanmeterPlatform to use.
getter/setter pair