KGAPI2::People::SipAddress
#include <sipaddress.h>
Public Member Functions | |
SipAddress () | |
SipAddress (const SipAddress &) | |
SipAddress (SipAddress &&) noexcept | |
~SipAddress () | |
QString | formattedType () const |
FieldMetadata | metadata () const |
bool | operator!= (const SipAddress &) const |
SipAddress & | operator= (const SipAddress &) |
SipAddress & | operator= (SipAddress &&) noexcept |
bool | operator== (const SipAddress &) const |
void | setMetadata (const FieldMetadata &value) |
void | setType (const QString &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | type () const |
QString | value () const |
Static Public Member Functions | |
static SipAddress | fromJSON (const QJsonObject &) |
static QList< SipAddress > | fromJSONArray (const QJsonArray &data) |
Detailed Description
A person's SIP address.
Session Initial Protocol addresses are used for VoIP communications to make voice or video calls over the internet.
- Since
- 5.23.0
Definition at line 34 of file sipaddress.h.
Constructor & Destructor Documentation
◆ SipAddress()
|
explicit |
Constructs a new SipAddress.
Definition at line 50 of file sipaddress.cpp.
◆ ~SipAddress()
|
default |
Destructor.
Member Function Documentation
◆ formattedType()
|
nodiscard |
Output only.
The type of the SIP address translated and formatted in the viewer's account locale or the Accept-Language
HTTP header locale.
Definition at line 98 of file sipaddress.cpp.
◆ fromJSON()
|
staticnodiscard |
Definition at line 103 of file sipaddress.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 117 of file sipaddress.cpp.
◆ metadata()
|
nodiscard |
Metadata about the SIP address.
Definition at line 80 of file sipaddress.cpp.
◆ operator!=()
bool KGAPI2::People::SipAddress::operator!= | ( | const SipAddress & | other | ) | const |
Definition at line 66 of file sipaddress.cpp.
◆ operator==()
bool KGAPI2::People::SipAddress::operator== | ( | const SipAddress & | other | ) | const |
Definition at line 61 of file sipaddress.cpp.
◆ setMetadata()
void KGAPI2::People::SipAddress::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 85 of file sipaddress.cpp.
◆ setType()
void KGAPI2::People::SipAddress::setType | ( | const QString & | value | ) |
Sets value of the type property.
Definition at line 94 of file sipaddress.cpp.
◆ setValue()
void KGAPI2::People::SipAddress::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 76 of file sipaddress.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 131 of file sipaddress.cpp.
◆ type()
|
nodiscard |
The type of the SIP address.
The type can be custom or or one of these predefined values: * home
* work
* mobile
* other
Definition at line 89 of file sipaddress.cpp.
◆ value()
|
nodiscard |
The SIP address in the RFC 3261 19.1 SIP URI format.
Definition at line 71 of file sipaddress.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.