unpublish_async


Description:

[ Version ( since = "0.15.5" ) ]
public async bool unpublish_async (Contact[] contacts) throws Error

Attempt to set the given contacts' publish_state property to NO, i.e. stop sending presence to them.

For this to work properly this must have interface IFACE_CONNECTION_INTERFACE_CONTACT_LIST .

Parameters:

this

a Connection

contacts

An array of Contact objects to remove

callback

a callback to call when the operation finishes

n_contacts

The number of contacts in contacts (must be at least 1)

user_data

data to pass to callback