netstatus_event_get_info()

Retrieve the network status information structure from a NETSTATUS_INFO event.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API netstatus_info_t* netstatus_event_get_info(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The NETSTATUS_INFO event to get the network status information structure from.

Library:

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

Description:

You call the netstatus_event_get_info() function to retrieve the network status information structure from a NETSTATUS_INFO event. Details about the network status can be determined using the netstatus_info_get_*() functions. Do not use the netstatus_free_info() function on this netstatus_info_t pointer. The memory associated with the network status information structure is valid as long as the event is valid and is freed internally by BlackBerry Platform Services (BPS).

Returns:

The network status information structure.

Last modified: 2014-05-14



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

comments powered by Disqus