Top |
CallsUssdState | calls_ussd_get_state () |
void | calls_ussd_initiate_async () |
char * | calls_ussd_initiate_finish () |
void | calls_ussd_respond_async () |
char * | calls_ussd_respond_finish () |
void | calls_ussd_cancel_async () |
gboolean | calls_ussd_cancel_finish () |
void calls_ussd_initiate_async (CallsUssd *self
,const char *command
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
char * calls_ussd_initiate_finish (CallsUssd *self
,GAsyncResult *result
,GError **error
);
void calls_ussd_respond_async (CallsUssd *self
,const char *response
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
char * calls_ussd_respond_finish (CallsUssd *self
,GAsyncResult *result
,GError **error
);
void calls_ussd_cancel_async (CallsUssd *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
gboolean calls_ussd_cancel_finish (CallsUssd *self
,GAsyncResult *result
,GError **error
);
struct CallsUssdInterface { GTypeInterface parent_iface; CallsUssdState (*get_state) (CallsUssd *self); void (*initiate_async) (CallsUssd *self, const char *command, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); char *(*initiate_finish) (CallsUssd *self, GAsyncResult *result, GError **error); void (*respond_async) (CallsUssd *self, const char *response, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); char *(*respond_finish) (CallsUssd *self, GAsyncResult *result, GError **error); void (*cancel_async) (CallsUssd *self, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); gboolean (*cancel_finish) (CallsUssd *self, GAsyncResult *result, GError **error); };
“ussd-added”
signalvoid user_function (CallsUssd *self, char *response, gpointer user_data)
Emitted when some USSD response is recieved
Flags: Run Last
“ussd-cancelled”
signalvoid user_function (CallsUssd *self, gpointer user_data)
Emitted when the active USSD is cancelled. Shouldn't be emitted if cancelled to immidiately request again.
Flags: Run Last
“ussd-state-changed”
signalvoid user_function (CallsUssd *self, gpointer user_data)
Emitted when the USSD state changes. Use
calls_ussd_get_state()
to get the state.
Flags: Run Last