onNetworkTimeSynchronized method
@detail callback @author songxiaomeng.19 @brief After calling getNetworkTimeInfo{@link #RTCEngine#getNetworkTimeInfo} for the first time, the SDK starts network time synchronization internally. This callback will be triggered when the synchronization is completed.
Implementation
FutureOr<void> onNetworkTimeSynchronized() async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onNetworkTimeSynchronized
?.call();
}