Subject: Message status
Hi,
Maybe it's just my lack of knowledge about the XMPP framework but I can't find an answer to my question.
I'm building a chat application on the Windows Phone Universal library.. as of now I can do everything I want, I can send messages, receive messages, check users status (online/offline) etc. The Matrix library really works awesome (I have to admit that)
However I do not understand how I can see the status of a message..
What I want is the following:
As a user I type a message and send it to someone else. At that point the message is (by default) marked as 'pending delivery'
Now I want to know how I can receive data on the fact that the message has been sent, delivered and even read.
So in short: Can I, and if so how, get the following statuses after I sent a message:
1: Message is sent (succesfully)
2: Message is delivered
3: Message is read
4: Message could not be deliverd.
I tried the
Love to hear from you!
Thanks in advance.
Don
Maybe it's just my lack of knowledge about the XMPP framework but I can't find an answer to my question.
I'm building a chat application on the Windows Phone Universal library.. as of now I can do everything I want, I can send messages, receive messages, check users status (online/offline) etc. The Matrix library really works awesome (I have to admit that)
However I do not understand how I can see the status of a message..
What I want is the following:
As a user I type a message and send it to someone else. At that point the message is (by default) marked as 'pending delivery'
Now I want to know how I can receive data on the fact that the message has been sent, delivered and even read.
So in short: Can I, and if so how, get the following statuses after I sent a message:
1: Message is sent (succesfully)
2: Message is delivered
3: Message is read
4: Message could not be deliverd.
I tried the
XmppClient.SendAndAck(msg, Ack);
but although the message is correctly sent, I never get into the Ack() function.Love to hear from you!
Thanks in advance.
Don