wifi_service_shutdown()

Shutdown the Wi-Fi service and stop receiving Wi-Fi events.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_service_shutdown(wifi_service_t *wifi_service)

Since:

BlackBerry 10.2.0

Arguments:

wifi_service

The service handle that will be closed and released by this function.

Library:

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

Description:

This function releases the application from the Wi-Fi service and stops it from receiving events. Applications must always call this function as part of their teardown process.

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