netstatus_info_get_search_domain()

Get the search domain at the specified index from a network status structure.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API const char* netstatus_info_get_search_domain(netstatus_info_t *info,
                                                     int index)

Since:

BlackBerry 10.2.0

Arguments:

info

The netstatus_info_t structure to get the search domain from.

index

The index of the search domain to get. Must be in the range 0 to netstatus_info_get_num_search_domains() - 1.

Library:

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

Description:

The netstatus_info_get_search_domain() function gets the search domain at the specified index from the specified netstatus_info_t structure.

Returns:

The search domain at the specified index, or NULL if the index is invalid.

Last modified: 2014-09-30



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

comments powered by Disqus