set_default_storage


Description:

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

Asynchronously set default SmsStorage in the modem.

When the operation is finished, callback will be invoked in the <link linkend="g-main-context-push-thread-default"> thread-default main loop</link> of the thread you are calling this method from. You can then call set_default_storage.end to get the result of the operation.

See set_default_storage_sync for the synchronous, blocking version of this method.

Parameters:

this

A ModemMessaging.

storage

A SmsStorage to set default storage.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied or null

user_data

User data to pass to callback.