notification_message_set_subtitle()

Set the subtitle member of message.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

message

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

subtitle

The subtitle of the message to display.

Library:

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

Description:

The notification_message_set_subtitle() function sets the subtitle of a notification to be displayed. The subtitle member is valid for the notification_alert() and notification_notify() functions.

If you don't call this function, no subtitle is displayed by the message.

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