ConIcConnectionEvent is sent whenever status of a connection changes. It's derived from ConIcEvent class.
#include <glib.h>
#include <glib-object.h>
Typedefs | |
typedef struct _ConIcConnectionEvent | ConIcConnectionEvent |
ConIcConnectionEvent object. | |
Enumerations | |
enum | ConIcConnectionStatus { CON_IC_STATUS_CONNECTED, CON_IC_STATUS_DISCONNECTED, CON_IC_STATUS_DISCONNECTING, CON_IC_STATUS_NETWORK_UP } |
IAP connection statuses. More... | |
enum | ConIcConnectionError { CON_IC_CONNECTION_ERROR_NONE, CON_IC_CONNECTION_ERROR_INVALID_IAP, CON_IC_CONNECTION_ERROR_CONNECTION_FAILED, CON_IC_CONNECTION_ERROR_USER_CANCELED } |
Error codes for connection events. More... | |
Functions | |
ConIcConnectionStatus | con_ic_connection_event_get_status (ConIcConnectionEvent *event) |
Get status from the event. | |
ConIcConnectionError | con_ic_connection_event_get_error (ConIcConnectionEvent *event) |
Get error from the event. |
typedef struct _ConIcConnectionEvent ConIcConnectionEvent |
ConIcConnectionEvent object.
The contents of the object is private, to access the object use the functions provided by conicconnectionevent.h.
enum ConIcConnectionError |
Error codes for connection events.
Only set in DISCONNECTED events, otherwise set to CON_IC_CONNECTION_ERROR_NONE.
IAP connection statuses.
ConIcConnectionError con_ic_connection_event_get_error | ( | ConIcConnectionEvent * | event | ) |
Get error from the event.
event | OssIcConnectionEvent object |
ConIcConnectionStatus con_ic_connection_event_get_status | ( | ConIcConnectionEvent * | event | ) |
Get status from the event.
event | OssIcConnectionEvent object |