Read & Unread Indicators

In this section you will be able to know the number of notifications that are in the Inbox according to their status, the model is as follows:

counter = {
    click: int,
    sent: int,
    deleted: int,
    unread: {
       count: int,
       lastAccess: "string" 
    }
}

To find out the number of notifications in the Inbox according to their status, this method is performed:

window.plugins.indigitall.inbox.getMessageCount((counters)=>{
    //DO SOMETHING
},(error)=>{
    //LOG ERROR
});