present_channel_async


Description:

[ Version ( since = "0.15.0" ) ]
public async bool present_channel_async (Channel channel, int64 user_action_time) throws Error

Asynchronously calls PresentChannel on the ChannelDispatcher to ask to the handler of channel to re-present it to the user.

You can then call present_channel_async.end to get the result of the operation.

Parameters:

this

a ChannelDispatcher

channel

a Channel

user_action_time

the time at which user action occurred, or USER_ACTION_TIME_NOT_USER_ACTION if this presentation request is for some reason not involving user action.

callback

a callback to call when the request is satisfied

user_data

data to pass to callback