libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
voip.h
Go to the documentation of this file.
1
// THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
2
3
#
pragma
once
4
5
#
include
<
Quotient
/
jobs
/
basejob
.
h
>
6
7
namespace
Quotient
{
8
9
//! \brief Obtain TURN server credentials.
10
//!
11
//! This API provides credentials for the client to use when initiating
12
//! calls.
13
class
QUOTIENT_API
GetTurnServerJob
:
public
BaseJob
{
14
public
:
15
explicit
GetTurnServerJob
();
16
17
//! \brief Construct a URL without creating a full-fledged job object
18
//!
19
//! This function can be used when a URL for GetTurnServerJob
20
//! is necessary but the job itself isn't.
21
static
QUrl
makeRequestUrl
(
const
HomeserverData
&
hsData
);
22
23
// Result properties
24
25
//! The TURN server credentials.
26
QJsonObject
data
()
const
{
return
fromJson
<
QJsonObject
>(
jsonData
()); }
27
};
28
29
inline
auto
collectResponse
(
const
GetTurnServerJob* job) {
return
job->data(); }
30
31
}
// namespace Quotient
Quotient::GetTurnServerJob
Obtain TURN server credentials.
Definition
voip.h:13
Quotient
Definition
accountregistry.h:13
Quotient::collectResponse
auto collectResponse(const GetAccountDataJob *job)
Definition
account-data.h:59
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
csapi
voip.h
Generated by
1.9.8