Agora C++ API Reference for All Platforms
|
Public Member Functions | |
NtpTime () | |
NtpTime (uint64_t ms) | |
NtpTime (uint32_t seconds, uint32_t fractions) | |
operator uint64_t () const | |
uint64_t | Ms () const |
bool | Valid () const |
uint32_t | ToSeconds () const |
uint32_t | ToFractions () const |
uint64_t | ToTimestamp () const |
Static Public Attributes | |
static const uint64_t | ntpFracPerSecond = 4294967296 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets the NTP time.
|
inline |
|
inline |
Gets the integer part of the NTP timestamp.
|
inline |
Gets the fractional part of the NTP timestamp.
|
inline |
Gets the NTP timestamp.
|
static |