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

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: 2013-12-21

comments powered by Disqus