wifi_service_read_event()

Read a Wi-Fi service event.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_service_read_event(wifi_service_t *wifi_service, wifi_service_event_t **event)

Since:

BlackBerry 10.2.0

Arguments:

wifi_service

The Wi-Fi service handle.

event

The Wi-Fi service event.

Library:

libwifi (For the qcc command, use the -l wifi option to link against this library)

Description:

This function reads the Wi-Fi service event and returns a handle to the event to the application. If this function returns without error, the application must release the event using wifi_service_free_event() when it is done processing it.

Returns:

A return code from wifi_result_t.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus