EngagementTrackingService class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearPendingEvents(
) → Future< void> - Clear all pending events (use with caution)
-
dispose(
) → void - Dispose resources
-
forceSendPendingEvents(
) → Future< void> - Force send all pending events immediately
-
getPendingEvents(
) → List< String> -
getPendingEventsCount(
) → int - Get pending events count
-
handleNotificationOpened(
RemoteMessage message) → Future< void> - Handle notification opened (clicked)
-
initialize(
{dynamic onNotificationTapped(NotificationResponse)?}) → Future< void> - Initialize the engagement tracking service
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trackEngagement(
dynamic message) → Future< void> - Track engagement event
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → EngagementTrackingService
-
no setter
Static Methods
-
isRelevaMessage(
RemoteMessage message) → bool