accept_sync


Description:

[ Version ( since = "1.6" ) ]
public bool accept_sync (Cancellable? cancellable = null) throws Error

Synchronously requests to accept the incoming call.

Call objects can only be sent once.

The calling thread is blocked until an incoming call is ready. See accept for the asynchronous version of this method.

Parameters:

this

A Call.

cancellable

A Cancellable or null.

Returns:

true if the operation succeeded, false if error is set.




2022 vala-language.org