Event types for Wi-Fi service events.
#include <wifi/wifi_service.h>
typedef enum {
WIFI_EVENT_STATION_CONNECTION_STATE = 0
WIFI_EVENT_SCAN_RESULTS = 1
WIFI_EVENT_AGGREGATOR_PROFILE_ENABLE_CHANGE = 2
WIFI_EVENT_AGGREGATOR_LOGIN_TIMEOUT = 3
WIFI_EVENT_AGGREGATOR_DEREGISTERED = 4
WIFI_EVENT_IGNORE = 0xFE
WIFI_EVENT_UNKNOWN = 0xFF
} wifi_event_t;
BlackBerry 10.2.0
It can be queried using the wifi_station_connection_get_state() function.
They can be queried using the wifi_get_scan_results() function.
The event reason and the new enable state can be queried using the wifi_service_event_get_aggregator_profile_enable_state() function.
This occurs if the wifi_aggregator_login_complete() function is not called to confirm hotspot login result after the Wi-Fi connection is established.
This enum defines the event codes for Wi-Fi service events that are generated if wifi_service_initialize() was called.