Description
-
Fires when new notification is received.
Syntax
-
Private Sub
object_IncomingNotification(Contact,
NotifyID, Data)
The IncomingNotification Event syntax has these
parts:
| object |
A wodXMPP object. |
| Contact |
A XMPPContact object.
Returns a reference to the current Contact object. |
| NotifyID |
A ContactNotifyEnum
enumeration, as described in settings. Holds
notification ID. This parameter will be set to 1
if user is typing a message. |
| Data |
A Variant value. Returns True
if data is being received. |
Settings
-
The settings for NotifyID are:
 |
UserTyping |
1 |
User is typing. |
Remarks
-
IncomingNotification Event is fired each time certain
notification is received from the server. Currently only
one notification is provided - UserTyping which is called
when user starts (Data argument contains nonzero value) and
when user stops (Data arguments contains zero value)
typing. You can use it for typical "User is
typing..." text shown in the chat screen.
|