Contents

timeSnapshot(with:completion:)

Command TimeSnapshot

Declaration

func timeSnapshot(with params: MTRGeneralDiagnosticsClusterTimeSnapshotParams?, completion: @escaping  @Sendable (MTRGeneralDiagnosticsClusterTimeSnapshotResponseParams?, (any Error)?) -> Void)
func timeSnapshot(with params: MTRGeneralDiagnosticsClusterTimeSnapshotParams?) async throws -> MTRGeneralDiagnosticsClusterTimeSnapshotResponseParams

Discussion

This command MAY be used by a client to obtain a correlated view of both System Time, and, if currently synchronized and supported, “wall clock time” of the server.