authorize_publication_async
Description:
[ Version ( since = "0.15.5" ) ]
public async bool authorize_publication_async (Contact[] contacts) throws Error
public async bool authorize_publication_async (Contact[] contacts) throws Error
For each of the given contacts
, request that the local user's presence is sent to that contact, i.e. that their
publish_state property becomes
YES.
For this to work properly this must have interface IFACE_CONNECTION_INTERFACE_CONTACT_LIST .
Parameters:
this | |
contacts |
An array of Contact objects to authorize |
callback |
a callback to call when the operation finishes |
n_contacts |
The number of contacts in |
user_data |
data to pass to |