Back to product page

Notify method


Sends notification to the contact.

Syntax

  • Basic
object.Notify (NotifyID, [Data])
The Notify(object,NotifyID,Data) syntax has these parts:
objectAn expression evaluating to an object of type XMPPContact
NotifyIDContactNotifyEnum enumeration.
DataOptional parameter. Specifies data to be sent along with notification.

Remarks

This method sends notification to some contact, provided through JID argument. Type of notification is defined as NotifyID parameter. Depending on chosen notification type, you should set appropriate Data value too. For possible list of available NotifyID values click here.

JID can contain any user no matter if he is on your contact list or not. It can also contact contact's Resource, but you can also leave it out.

Platforms

Windows