CustomerIOMessagingPushMethodChannel class
An implementation of CustomerIOMessagingPushPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- CustomerIOMessagingPushPlatform
- CustomerIOMessagingPushMethodChannel
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- 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.
override
-
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.
inherited
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited