MoEngageInboxPlatform class abstract
Platform Interface for MoEngage Inbox Feature
- Inheritance
-
- Object
- PlatformInterface
- MoEngageInboxPlatform
Constructors
- MoEngageInboxPlatform()
- Constructs a MoEngageInboxPlatform.
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
-
deleteMessage(
InboxMessage message, String appId) → void -
Deletes the given message from inbox.
message
- InboxMessageappId
- MoEngage App ID -
fetchAllMessages(
String appId) → Future< InboxData?> -
Gets all the messages saved in the inbox
appId
- MoEngage App ID -
getUnClickedCount(
String appId) → Future< int> -
Returns the count of un-clicked messages in the inbox
appId
- MoEngage App ID -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trackMessageClicked(
InboxMessage message, String appId) → void -
Marks the given message as clicked and tracks a click event for the same.
message
- MoEngage App IDappId
- MoEngage App ID
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ MoEngageInboxPlatform
-
The default instance of MoEngageInboxPlatform to use.
getter/setter pair