getTrustedTimeWithAccuracy method

Future<TrustedTimeResult?> getTrustedTimeWithAccuracy()

Returns trusted UTC epoch time alongside an accuracy estimate.

Returns null if the GMS TrustedTime client is unavailable or has no time signal. The TrustedTimeResult.uncertaintyNanos field will be null on devices below Android 8.0 (API 26).

Implementation

Future<TrustedTimeResult?> getTrustedTimeWithAccuracy() {
  throw UnimplementedError(
      'getTrustedTimeWithAccuracy() has not been implemented.');
}