QXmpp Version: 1.10.0
|
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 | |
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::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 |