push_service_initialize()

Initializes the push_service_t structure.

Synopsis:

#include <bbpush/push_service.h>
 
int push_service_initialize(push_service_t **ps)

Since:

BlackBerry 10.2.0

Arguments:

ps

The push_service_t structure.

Library:

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

Description:

This function (or push_service_initialize()) must be called once before any other calls are made. The ownership of the return value stays with the library. To deallocate this memory, use push_service_cleanup().

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