Get the current user-saved Wi-Fi profile list.
#include <wifi/wifi_service.h>
WIFI_API wifi_result_t wifi_get_user_profiles(wifi_user_profile_list_t **profiles, int *num_user_profiles)
BlackBerry 10.2.0
Pointer that will be set to the user profile list.
The number of user profiles in the list.
This function queries the user profile list. The wifi_free_user_profiles() function must be called to free the user profiles list when processing is complete.
The user profiles can be decoded by looping from 1 to num_user_profiles and calling one of the functions prefixed with wifi_get_user_profile_ to extract the details of each user profile entry.
A return code from wifi_result_t.