GmsTrustedTimePlatform class abstract

The interface that implementations of gms_trusted_time must implement.

Inheritance
  • Object
  • PlatformInterface
  • GmsTrustedTimePlatform
Implementers

Constructors

GmsTrustedTimePlatform()
Constructs a GmsTrustedTimePlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getTrustedTimeMillis() → Future<int?>
Returns trusted UTC time in milliseconds since Unix epoch.
getTrustedTimeWithAccuracy() → Future<TrustedTimeResult?>
Returns trusted UTC epoch time alongside an accuracy estimate.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance ↔ GmsTrustedTimePlatform
The default instance of GmsTrustedTimePlatform to use.
getter/setter pair