create_sync


Description:

[ Version ( since = "1.0" ) ]
public Sms create_sync (SmsProperties properties, Cancellable? cancellable = null) throws Error

Synchronously creates a new Sms in the modem.

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

Parameters:

this

A ModemMessaging.

properties

A typeof (unichar2) SmsProperties object with the properties to use.

cancellable

A Cancellable or null.

Returns:

A newly created Sms, or null if error is set. The returned value should be freed with unref.




2022 vala-language.org