Destroys the channel when the application no longer needs it.
#include <bbpush/push_service.h>
int push_service_destroy_channel(push_service_t *ps, push_callback_t cb_func, push_transport_ready_callback_t transport_ready_cb_func)
BlackBerry 10.2.0
A pointer to the push_service_t structure used to create the request.
Callback in response to push_service_destroy_channel(). This callback contains a status_code parameter to specify the failure condition. This callback function cannot be NULL.
Callback in response to push_service_destroy_channel(). Sent when a previous push_service_destroy_channel() request failed with a PUSH_ERR_TRANSPORT_FAILURE (10103) or PUSH_ERR_PPG_SERVER_ERROR (10110) status code. This callback function cannot be NULL.
PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.