Structures

The following structures are available globally.

  • Short description of a service relating to user’s account

    See more

    Declaration

    Swift

    public struct AccountServiceDescriptor : Codable
  • Details which service data source accounts the user has added.

    See more

    Declaration

    Swift

    public struct AccountsInfo : Codable
  • The account relating to a service data source user has added to digi.me library

    See more

    Declaration

    Swift

    public struct SourceAccount : Codable
  • SDK Configuration

    See more

    Declaration

    Swift

    public struct Configuration
  • Credentials for accessing user’s digi.me library

    Declaration

    Swift

    public struct Credentials : Codable
  • Information about a service data source

    See more

    Declaration

    Swift

    public struct Service : Codable
  • Describes a country for a service data source

    See more

    Declaration

    Swift

    public struct ServiceCountry : Codable
  • Describes the group for a service data source

    See more

    Declaration

    Swift

    public struct ServiceGroup : Codable
  • Info for services and related groups

    See more

    Declaration

    Swift

    public struct ServicesInfo : Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct APIError : Decodable
  • Represents a file retrieved from library

    See more

    Declaration

    Swift

    public struct File : Codable
  • Represents a list of files available from digi.me library

    See more

    Declaration

    Swift

    public struct FileList : Decodable, Equatable
  • Represents an available file from digi.me library

    See more

    Declaration

    Swift

    public struct FileListItem : Decodable, Equatable
  • Metadata for a file with mapped service data

    See more

    Declaration

    Swift

    public struct MappedFileMetadata : Codable
  • Metadata for a file with raw data (typically one which has been written to library)

    See more

    Declaration

    Swift

    public struct RawFileMetadata : Codable
  • Details of a source being synchronized

    See more

    Declaration

    Swift

    public struct SyncAccount : Decodable, Equatable
  • Reason why connecting to source or importing data from source into user’s library failed

    See more

    Declaration

    Swift

    public struct SyncError : Decodable, Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public struct ServiceError : Decodable, Equatable
  • The status of synchronizing data from a service-based source into user’s library

    See more

    Declaration

    Swift

    public struct SyncStatus : Decodable, Equatable
  • Period of time (in seconds) used for attempting to retrieve new data from all service data sources. In case sync is not completed within the specified duration, a partial account status will be reported in FileList with SourceFetchDurationQuotaReached error code. Defaults to unlimited duration.

    See more

    Declaration

    Swift

    public struct Duration : Encodable
    extension Duration: ExpressibleByIntegerLiteral
  • Undocumented

    See more

    Declaration

    Swift

    public struct Limits : Encodable
  • Options used to configure session for reading data from service-based data sources

    See more

    Declaration

    Swift

    public struct ReadOptions : Encodable
  • Scope used to limit service-based data retrieval to specified services and a specified time ranges

    See more

    Declaration

    Swift

    public struct Scope : Encodable
  • Represents a service group scope with which data requests can be limited to

    See more

    Declaration

    Swift

    public struct ServiceGroupScope : Encodable
  • Represents an object scope with which data requests can be limited to

    See more

    Declaration

    Swift

    public struct ServiceObjectType : Encodable
  • Represents a service scope with which data requests can be limited to

    See more

    Declaration

    Swift

    public struct ServiceType : Encodable