set_default_storage_sync


Description:

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

Synchronously set default SmsStorage in the modem.

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

Parameters:

this

A ModemMessaging.

storage

A SmsStorage to set default storage.

cancellable

A Cancellable or null.

Returns:

true if set default storage is success, false if throws is set.