SyncAccount

public struct SyncAccount : Decodable, Equatable

Details of a source being synchronized

  • The service’s account’s identifier Only available for service-based sources, not for data written by this or another contract.

    Declaration

    Swift

    public let identifier: String?
  • The synchronization state for this source

    Declaration

    Swift

    public let state: SyncState
  • An error giving details of the reason synchronization failed. Only available for ‘partial’ synchronization state

    Declaration

    Swift

    public let error: SyncError?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws