Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

  • No labels