|
Liblinphone 5.5.0
|
#include <im_notif_policy.hh>
Public Member Functions | |
| LINPHONECXX_PUBLIC | ImNotifPolicy (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphoneImNotifPolicy * | cPtr () |
| LINPHONECXX_PUBLIC bool | getRecvImdnDelivered () const |
| LINPHONECXX_PUBLIC void | setRecvImdnDelivered (bool enable) |
| LINPHONECXX_PUBLIC bool | getRecvImdnDeliveryError () const |
| LINPHONECXX_PUBLIC void | setRecvImdnDeliveryError (bool enable) |
| LINPHONECXX_PUBLIC bool | getRecvImdnDisplayed () const |
| LINPHONECXX_PUBLIC void | setRecvImdnDisplayed (bool enable) |
| LINPHONECXX_PUBLIC bool | getRecvIsComposing () const |
| LINPHONECXX_PUBLIC void | setRecvIsComposing (bool enable) |
| LINPHONECXX_PUBLIC bool | getSendImdnDelivered () const |
| LINPHONECXX_PUBLIC void | setSendImdnDelivered (bool enable) |
| LINPHONECXX_PUBLIC bool | getSendImdnDeliveryError () const |
| LINPHONECXX_PUBLIC void | setSendImdnDeliveryError (bool enable) |
| LINPHONECXX_PUBLIC bool | getSendImdnDisplayed () const |
| LINPHONECXX_PUBLIC void | setSendImdnDisplayed (bool enable) |
| LINPHONECXX_PUBLIC bool | getSendIsComposing () const |
| LINPHONECXX_PUBLIC void | setSendIsComposing (bool enable) |
| LINPHONECXX_PUBLIC void | clear () |
| LINPHONECXX_PUBLIC void | enableAll () |
Policy to use to send/receive instant messaging composing/delivery/display notifications.
The sending of this information is done as in the RFCs 3994 (is_composing) and 5438 (imdn delivered/displayed).
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::clear | ( | ) |
Clear an IM notif policy (deactivate all receiving and sending of notifications).
Note: Error IMDN must be enabled for Lime recovery mechanism
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getRecvImdnDelivered | ( | ) | const |
Tell whether imdn delivered notifications are being notified when received.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getRecvImdnDeliveryError | ( | ) | const |
Tell whether imdn delivery error notifications are being notified when received.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getRecvImdnDisplayed | ( | ) | const |
Tell whether imdn displayed notifications are being notified when received.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getRecvIsComposing | ( | ) | const |
Tell whether is_composing notifications are being notified when received.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getSendImdnDelivered | ( | ) | const |
Tell whether imdn delivered notifications are being sent.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getSendImdnDeliveryError | ( | ) | const |
Tell whether imdn delivery error notifications are being sent.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getSendImdnDisplayed | ( | ) | const |
Tell whether imdn displayed notifications are being sent.
| LINPHONECXX_PUBLIC bool linphone::ImNotifPolicy::getSendIsComposing | ( | ) | const |
Tell whether is_composing notifications are being sent.
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setRecvImdnDelivered | ( | bool | enable | ) |
Enable imdn delivered notifications receiving.
| enable | Boolean value telling whether to notify received imdn delivered notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setRecvImdnDeliveryError | ( | bool | enable | ) |
Enable imdn delivery error notifications receiving.
Note: Error IMDN must be enabled for Lime recovery mechanism
| enable | Boolean value telling whether to notify received imdn delivery error notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setRecvImdnDisplayed | ( | bool | enable | ) |
Enable imdn displayed notifications receiving.
| enable | Boolean value telling whether to notify received imdn displayed notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setRecvIsComposing | ( | bool | enable | ) |
Enable is_composing notifications receiving.
| enable | Boolean value telling whether to notify received is_composing notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setSendImdnDelivered | ( | bool | enable | ) |
Enable imdn delivered notifications sending.
| enable | Boolean value telling whether to send imdn delivered notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setSendImdnDeliveryError | ( | bool | enable | ) |
Enable imdn delivery error notifications sending.
Note: Error IMDN must be enabled for Lime recovery mechanism
| enable | Boolean value telling whether to send imdn delivery error notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setSendImdnDisplayed | ( | bool | enable | ) |
Enable imdn displayed notifications sending.
| enable | Boolean value telling whether to send imdn displayed notifications. |
| LINPHONECXX_PUBLIC void linphone::ImNotifPolicy::setSendIsComposing | ( | bool | enable | ) |
Enable is_composing notifications sending.
| enable | Boolean value telling whether to send is_composing notifications. |