SyncState

public enum SyncState : String, Decodable, Equatable

State of synchronization

  • running: Currently importing data from source into user’s library
  • pending: Connecting to source
  • partial: Synchronization partially complete, usuallyy due to errors connecting to source or errors importing data to user’s library.
  • completed: Importing data from source into user’s library has finished
  • unknown: Special case to handle forward compatibility in case as new/unexpected state is encountered. Treated same as running state.
  • Undocumented

    Declaration

    Swift

    case running
  • Undocumented

    Declaration

    Swift

    case pending
  • Undocumented

    Declaration

    Swift

    case partial
  • Undocumented

    Declaration

    Swift

    case completed
  • Undocumented

    Declaration

    Swift

    case unknown
  • Whether synchronization is in progress or finished

    Declaration

    Swift

    public var isRunning: Bool { get }