Retrieve the thread's active channel ID.
#include <bps/bps.h>
BPS_API int bps_channel_get_active(void)
BlackBerry 10.0.0
Use this function when a thread needs to communicate its channel ID to another thread that uses the bps_channel_push_event() function.
The active channel ID for the calling thread.