create_channel_async


Description:

public async bool create_channel_async (string preferred_handler, Cancellable? cancellable) throws Error

Asynchronously calls CreateChannel on the ChannelDispatcher to create a channel with the properties defined in TpAccountChannelRequest:request and let the ChannelDispatcher dispatch it to an handler.

callback will be called when the channel has been created and dispatched, or the request has failed. You can then call create_channel_async.end to get the result of the operation.

Parameters:

this

a AccountChannelRequest

preferred_handler

Either the well-known bus name (starting with CLIENT_BUS_NAME_BASE) of the preferred handler for the channel, or null to indicate that any handler would be acceptable.

cancellable

optional Cancellable object, null to ignore

callback

a callback to call when the request is satisfied

user_data

data to pass to callback




2022 vala-language.org