|
Agora Java API Reference for Android
|
Public Member Functions | |
| 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 |
| uint64_t agora::base::NtpTime::Ms | ( | ) | const |
Gets the NTP time.
| bool agora::base::NtpTime::Valid | ( | ) | const |
| uint32_t agora::base::NtpTime::ToSeconds | ( | ) | const |
Gets the integer part of the NTP timestamp.
| uint32_t agora::base::NtpTime::ToFractions | ( | ) | const |
Gets the fractional part of the NTP timestamp.
| uint64_t agora::base::NtpTime::ToTimestamp | ( | ) | const |
Gets the NTP timestamp.
1.8.18