CustomerIOMessagingPushPlatform class abstract
The default instance of CustomerIOMessagingPushPlatform to use
Platform-specific plugins should override this with their own platform-specific class that extends CustomerIOMessagingPushPlatform when they register themselves.
Defaults to CustomerIOMessagingPushMethodChannel
- Inheritance
-
- Object
- PlatformInterface
- CustomerIOMessagingPushPlatform
- Implementers
Constructors
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
-
getRegisteredDeviceToken(
) → Future< String?> - Method to get the device token registered with the Customer.io SDK. Returns a Future that resolves to the device token registered with Customer.io SDK.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBackgroundMessageReceived(
Map< String, dynamic> message) → Future<bool> - Handles push notification received when app is background. Since FCM itself displays the notification when app is background, this method makes it easier to determine whether the notification should be displayed or not.
-
onMessageReceived(
Map< String, dynamic> message, {bool handleNotificationTrigger = true}) → Future<bool> - Processes push notification received outside the CIO SDK. The method displays notification on device and tracks CIO metrics for push notification.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ CustomerIOMessagingPushPlatform
-
getter/setter pair