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.