Liblinphone  5.2.0
Public Member Functions | List of all members
linphone::PushNotificationMessage Class Reference

Object holding chat message data received by a push notification on iOS platform only. More...

#include <push_notification_message.hh>

Inheritance diagram for linphone::PushNotificationMessage:

Public Member Functions

 PushNotificationMessage (void *ptr, bool takeRef=true)
 
LINPHONECXX_PUBLIC _LinphonePushNotificationMessage * cPtr ()
 
LINPHONECXX_PUBLIC bool isIcalendar () const
 Tells whether or not this message contains an icalendar by checking it's content type. More...
 

Detailed Description

Object holding chat message data received by a push notification on iOS platform only.

This object is a subset of ChatMessage, so only a few methods of it's parent are available, like linphone_push_notification_message_get_text_content and linphone_push_notification_message_get_subject, just enough to be able to build a notification to show the user.

Member Function Documentation

◆ isIcalendar()

LINPHONECXX_PUBLIC bool linphone::PushNotificationMessage::isIcalendar ( ) const

Tells whether or not this message contains an icalendar by checking it's content type.

Returns
true if this content type is 'text/calendar;conference-event=yes', false otherwise.

The documentation for this class was generated from the following file: