fetchMessagesByTagAsync
fun fetchMessagesByTagAsync(context: Context, messageTag: String, listener: OnMessagesAvailableListener)
Return all the messages filtered by message tag in the inbox to the listener. This API fetches messages for the account configured as default.
Since
1.0.00
Parameters
context
instance of Context
messageTag
Tag for which messages should be filtered.
listener
Instance of OnMessagesAvailableListener
fun fetchMessagesByTagAsync(context: Context, messageTag: String, appId: String, listener: OnMessagesAvailableListener)
Return all the messages filtered by message tag in the inbox to the listener. This API fetches messages for the account configured as default.
Since
2.0.0
Parameters
context
instance of Context
messageTag
Tag for which messages should be filtered.
appId
Account identifier, APP ID on the MoEngage Dashboard.
listener
Instance of OnMessagesAvailableListener