The QXmppJingleMessageInitiation class holds information about the JMI element in the current context.
More...
Inherits QObject.
|
using | Result = std::variant< Rejected, Retracted, Finished, QXmppError > |
| Variant of Rejected, Retracted, Finished or Error result types.
|
|
|
class | QXmppJingleMessageInitiationManager |
|
class | tst_QXmppJingleMessageInitiationManager |
|
The QXmppJingleMessageInitiation class holds information about the JMI element in the current context.
- Since
- QXmpp 1.6
◆ closed()
QXmppJingleMessageInitiation::closed |
( |
const Result & |
result | ) |
|
Emitted when a call was ended either through rejection, retraction, finish or an error.
- Parameters
-
◆ finish()
Creates a JMI element of type "finish" and sends a request containing the element. The default reason type/tag will be "success" with text "Success".
- Parameters
-
reason | Reason object for finish element |
migratedTo | JMI id the session has been migrated to |
◆ proceed()
Creates a JMI element of type "proceed" and sends a request containing the element.
◆ proceeded()
QXmppJingleMessageInitiation::proceeded |
( |
const QString & |
id, |
|
|
const QString & |
callPartnerResource |
|
) |
| |
Emitted when a propose request was successfully processed and accepted.
- Parameters
-
id | belonging JMI id |
callPartnerResource | resource of the call partner about to be called |
◆ reject()
Creates a JMI element of type "reject" and sends a request containing the element. The default reason tag/type will be "busy" with text "Busy".
- Parameters
-
reason | Reason object for reject element |
containsTieBreak | Whether the reject element contains a tie-break tag or not |
◆ retract()
Creates a JMI element of type "retract" and sends a request containing the element. The default reason tag/type will be "cancel" with text "Retracted".
- Parameters
-
reason | Reason object for retract element |
containsTieBreak | Whether the retract element contains a tie-break tag or not |
◆ ring()
Creates a JMI element of type "ringing" and sends a request containing the element.
◆ ringing()
QXmppJingleMessageInitiation::ringing |
( |
| ) |
|
Emitted when a propose request was accepted and the device starts ringing.
The documentation for this class was generated from the following files: