push_service_set_sim_change_callback()

Call this function to register a SIM change callback.

Synopsis:

#include <bbpush/push_service.h>
 
int push_service_set_sim_change_callback(push_sim_change_callback_t cb_func)

Since:

BlackBerry 10.2.0

Arguments:

cb_func

The callback that will be called when a sim change occurs.

Library:

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

Description:

When a SIM change happens, the PPG stops delivering push messages. To continue receiving push data, you must call push_service_create_channel() again.

Returns:

PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus