initiate_sync


Description:

[ Version ( since = "1.0" ) ]
public string initiate_sync (string command, Cancellable? cancellable = null) throws Error

Synchronously sends a USSD command string to the network initiating a USSD session.

When the request is handled by the network, the method returns the response or an appropriate error. The network may be awaiting further response from the ME after returning from this method and no new command.

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

Parameters:

this

A Modem3gppUssd.

command

The command to start the USSD session with.

cancellable

A Cancellable or null.

Returns:

The response from the network, if any. The returned value should be freed with g_free.




2022 vala-language.org