ZegoLiveRoom
zego-api-network-time.h
Go to the documentation of this file.
1#ifndef zego_api_network_time_h
2#define zego_api_network_time_h
3
4#include "zego-api-defines.h"
5
6
7namespace ZEGO
8{
9 namespace NETWORKTIME
10 {
12 {
16 unsigned long long timestamp;
17
22
24 {
25 timestamp = 0;
26 maxDeviation = 0;
27 }
28 };
29
31 {
32 public:
37 virtual void OnNetworkTimeSynchronized() {};
38
40 };
41
48
55 }
56}
57
58#endif //zego_api_network_time_h
Definition: zego-api-network-time.h:31
virtual void OnNetworkTimeSynchronized()
Definition: zego-api-network-time.h:37
virtual ~IZegoNetworkTimeCallback()
Definition: zego-api-network-time.h:39
ZEGOAVKIT_API void SetNetworkTimeCallback(IZegoNetworkTimeCallback *pCB)
ZEGOAVKIT_API ZegoNetworkTimeInfo GetNetworkTimeInfo()
Definition: AVDefines.h:17
Definition: zego-api-network-time.h:12
unsigned long long timestamp
Definition: zego-api-network-time.h:16
int maxDeviation
Definition: zego-api-network-time.h:21
ZegoNetworkTimeInfo()
Definition: zego-api-network-time.h:23
#define ZEGOAVKIT_API
Definition: zego-api-defines.h:59