notification_message_set_title()

Set the title member of message.

Synopsis:

#include <bps/notification.h>
 
BPS_API int notification_message_set_title(notification_message_t *message,
                                           const char *title)

Since:

BlackBerry 10.0.0

Arguments:

message

A pointer to the notification_message_t structure whose title you want to set.

title

The preferred title of the notification to be displayed.

Library:

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

Description:

The notification_message_set_title() function sets the title to be displayed by the notification message. The title member is valid for the notification_alert() and notification_notify() functions.

If you don't specify a title, the behavior depends on the type of notification:

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-09-30



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

comments powered by Disqus