reset_async


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public async unowned string[] reset_async (string server, uint limit) throws Error

Resets the contact search object so a new search can be performed.

If another reset_async call is in progress, it will be cancelled and reset_async.end will return an appropriate error.

Parameters:

this

the ContactSearch to reset

server

the server on which to search for contacts, or null

limit

The maximum number of results the server should return, or 0 for the server default.

callback

a TaskReadyCallback to call when the initialization is finished

user_data

data to pass to the callback function