Package org.linphone.core
Interface PushNotificationMessage
public interface PushNotificationMessage
Object holding chat message data received by a push notification on iOS
platform only.
This object is a subset of
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.
platform only.
This object is a subset of
ChatMessage
, so only a few methods of it'sparent 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.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the native pointer used by this class to make native method calls.Gets the reaction content.Gets the object stored in this object user's databoolean
Tells whether or not this message contains a conference invitation
cancellation.boolean
Tells whether or not this message contains a new conference invitation.boolean
Tells whether or not this message contains a conference invitation update.boolean
Tells whether or not this message contains an icalendar by checking it's
content type.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
isConferenceInvitationCancellation
boolean isConferenceInvitationCancellation()Tells whether or not this message contains a conference invitation
cancellation.
- Returns:
- true if this message carries a conference invitation cancellation,
false otherwise.
-
isConferenceInvitationNew
boolean isConferenceInvitationNew()Tells whether or not this message contains a new conference invitation.
- Returns:
- true if this message carries a new conference invitation, false
otherwise.
-
isConferenceInvitationUpdate
boolean isConferenceInvitationUpdate()Tells whether or not this message contains a conference invitation update.
- Returns:
- true if this message carries a conference invitation update, false
otherwise.
-
isIcalendar
boolean isIcalendar()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.
-
getReactionContent
Gets the reaction content.
- Returns:
- The reaction content or null.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-