[ Version ( since = "1.0" ) ]
public string respond_sync (string response, Cancellable? cancellable = null) throws Error
Synchronously responds to a USSD request that is either initiated by the mobile network, or that is awaiting further input after a previous call to initiate.
The calling thread is blocked until a reply is received. See respond for the asynchronous version of this method.
this | |
response |
The response to network-initiated USSD command, or a response to a request for further input. |
cancellable |
A Cancellable or |
The network reply to this response to the network-initiated USSD command. The reply may require further responses. The returned value should be freed with g_free. |