/
Using the Message Info API in Android

Using the Message Info API in Android

inApp Messages is not available for DMC customers



The message info API is used to get the number of unread messages or the number of read messages.

If you enabled the in-app inbox, you can display the number of unread messages to the user.

The methods are callable via "Appoxee.methodName()".

getUnreadMessages

Returns the number of unread messages from the inbox.

Syntax

public static int getUnreadMessages();

Returns

An integer representing the number of unread messages.

getReadMessages

Returns the number of read messages from the inbox.

Syntax

public static int getReadMessages();

Returns

An integer representing the number of read messages.

Related content

Using the inApp Messages API (Since SDK v2.3) for Appoxee Standalone
Using the inApp Messages API (Since SDK v2.3) for Appoxee Standalone
More like this
Inbox SDK Integration for Android
Inbox SDK Integration for Android
More like this
Inbox SDK integration for iOS
Inbox SDK integration for iOS
More like this
Migration of existing customer from v4.0 to v5.0
Migration of existing customer from v4.0 to v5.0
More like this