set_delegated_channel_callback


Description:

[ Version ( since = "0.15.3" ) ]
public void set_delegated_channel_callback (owned AccountChannelRequestDelegatedChannelCb callback)

Turn on support for the org.

freedesktop.Telepathy.ChannelRequest.DelegateToPreferredHandler hint.

When receiving a request containing this hint, this will automatically delegate the channel to the preferred handler of the request and then call callback to inform the client that it is no longer handling this channel.

callback may be called any time after (and only after) requesting and handling the channel (i.e. you have called create_and_handle or ensure_and_handle).

This function can't be called once this has been used to request a channel.

See also: set_delegated_channels_callback

Parameters:

this

a AccountChannelRequest

callback

function called the channel requested using this is delegated, may not be null

destroy

called with the user_data as argument, when this is destroyed

user_data

arbitrary user-supplied data passed to callback




2022 vala-language.org