getUnClickedMessagesCount

@WorkerThread
@Nullable
fun getUnClickedMessagesCount(context: Context): UnClickedCountData?

Returns the count of un-clicked messages in the inbox for the account configured as default.

Return

Instance of UnClickedCountData or null if the account is not configured

Since

1.0.00

Parameters

context

Instance of Context

Throws

if the SDK is not initialized.


@WorkerThread
@Nullable
fun getUnClickedMessagesCount(context: Context, appId: String): UnClickedCountData?

Returns the count of un-clicked messages in the inbox for the given instance.

Return

Instance of UnClickedCountData or null if the account is not configured.

Since

2.0.0

Parameters

context

Instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.