SimpleHandlerHandleChannelsImpl


Description:

[ CCode ( instance_pos = 7.9 ) ]
[ Version ( since = "0.11.6" ) ]
public delegate void SimpleHandlerHandleChannelsImpl (SimpleHandler handler, Account account, Connection connection, List<Channel> channels, List<ChannelRequest> requests_satisfied, int64 user_action_time, HandleChannelsContext context)

Signature of the implementation of the HandleChannels method.

This function must call either accept, delay or fail on context before it returns.

Parameters:

handler

a SimpleHandler instance

account

a Account having TP_ACCOUNT_FEATURE_CORE prepared if possible

connection

a Connection having TP_CONNECTION_FEATURE_CORE prepared if possible

channels

a List of Channel , all having TP_CHANNEL_FEATURE_CORE prepared if possible

requests_satisfied

a List of ChannelRequest having their object-path defined but are not guaranteed to be prepared.

user_action_time

the time at which user action occurred, or one of the special values USER_ACTION_TIME_NOT_USER_ACTION or TP_USER_ACTION_TIME_CURRENT_TIME (see user_action_time for details)

context

a HandleChannelsContext representing the context of this D-Bus call

user_data

arbitrary user-supplied data passed to SimpleHandler


Namespace: TelepathyGLib
Package: telepathy-glib