unsubscribe_async


Description:

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

Attempt to set the given contacts' subscribe_state property to NO, i.e. stop receiving their presence.

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