libQuotient
A Qt library for building matrix clients
Quotient::Device Struct Reference

A client device. More...

#include <client_device.h>

Public Attributes

QString deviceId
 Identifier of this device. More...
 
QString displayName {}
 
QString lastSeenIp {}
 
std::optional< qint64 > lastSeenTs {}
 

Detailed Description

A client device.

Definition at line 9 of file client_device.h.

Member Data Documentation

◆ deviceId

QString Quotient::Device::deviceId

Identifier of this device.

Definition at line 11 of file client_device.h.

◆ displayName

QString Quotient::Device::displayName {}

Display name set by the user for this device. Absent if no name has been set.

Definition at line 15 of file client_device.h.

◆ lastSeenIp

QString Quotient::Device::lastSeenIp {}

The IP address where this device was last seen. (May be a few minutes out of date, for efficiency reasons).

Definition at line 19 of file client_device.h.

◆ lastSeenTs

std::optional<qint64> Quotient::Device::lastSeenTs {}

The timestamp (in milliseconds since the unix epoch) when this devices was last seen. (May be a few minutes out of date, for efficiency reasons).

Definition at line 24 of file client_device.h.


The documentation for this struct was generated from the following file: