store_sync


Description:

[ Version ( since = "1.0" ) ]
public bool store_sync (SmsStorage storage, Cancellable? cancellable = null) throws Error

Synchronoulsy requests to store the message in the device if not already done.

SMS objects can only be stored once.

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

Parameters:

this

A Sms.

storage

A SmsStorage specifying where to store the SMS, or UNKNOWN to use the default.

cancellable

A Cancellable or null.

Returns:

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