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
-
handleException(
PlatformException exception) → void -
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