|
QXmpp Version: 1.11.3
|
Public Types | |
| enum | Type { None , AlternativeSession , Busy , Cancel , ConnectivityError , Decline , Expired , FailedApplication , FailedTransport , GeneralError , Gone , IncompatibleParameters , MediaError , SecurityError , Success , Timeout , UnsupportedApplications , UnsupportedTransports } |
| This enum is used to describe a reason's type. | |
| enum | RtpErrorCondition { NoErrorCondition , InvalidCrypto , CryptoRequired } |
Public Member Functions | |
| QXmppJingleReason () | |
| Constructs an empty QXmppJingleReason. | |
| QXmppJingleReason (Type, const QString &, std::optional< RtpErrorCondition >) | |
| QString | text () const |
| Returns the reason's textual description. | |
| void | setText (const QString &text) |
| Sets the reason's textual description. | |
| Type | type () const |
| Gets the reason's type. | |
| void | setType (Type type) |
| Sets the reason's type. | |
| RtpErrorCondition | rtpErrorCondition () const |
| void | setRtpErrorCondition (RtpErrorCondition rtpErrorCondition) |
The QXmppJingleReason class represents the "reason" element of a QXmppJingle element.
Condition of an RTP-specific error
| Enumerator | |
|---|---|
| NoErrorCondition | There is no error condition. |
| InvalidCrypto | The encryption offer is rejected. |
| CryptoRequired | Encryption is required but not offered. |
| QXmppJingleReason::QXmppJingleReason | ( | Type | type, |
| const QString & | text, | ||
| std::optional< RtpErrorCondition > | rtpError | ||
| ) |
Constructs a QXmppJingleReason with specific type, error text and RTP error condition.
| QXmppJingleReason::RtpErrorCondition QXmppJingleReason::rtpErrorCondition | ( | ) | const |
Returns the RTP error condition as specified by XEP-0167: Jingle RTP Sessions.
| void QXmppJingleReason::setRtpErrorCondition | ( | RtpErrorCondition | rtpErrorCondition | ) |
Sets the RTP error condition as specified by XEP-0167: Jingle RTP Sessions.
| rtpErrorCondition | RTP error condition |