send_sync


Description:

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

Synchronously requests to queue the message for delivery.

SMS objects can only be sent once.

The calling thread is blocked until a reply is received. See send for the asynchronous version of this method.

Parameters:

this

A Sms.

cancellable

A Cancellable or null.

Returns:

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