call_action_async


Description:

[ Version ( since = "1.2.0" ) ]
public async unowned ServiceProxyAction? call_action_async (ServiceProxyAction action, Cancellable? cancellable) throws Error

Start a call on the remote UPnP service using the pre-configured action.

Use call_action_async.end in the callback to finalize the call and get_result, get_result_hash or get_result_list to extract the result of the remote call.

Parameters:

this

A ServiceProxy

action

A ServiceProxyAction to call

cancellable

A Cancellable which can be used to cancel the current action call

callback

A TaskReadyCallback to call when the action is finished.

user_data

User data for callback