SDK Reference v2.0.0 / ExternalAccountStatus
ExternalAccountStatus
struct ExternalAccountStatus : RawRepresentable, Equatable, Hashable, Codable
Describes the status of fetching data for a connected external account.
RawValue
associatedtype RawValue
error
static let error: MyDataHelpsKit.ExternalAccountStatus
An error occurred while fetching data.
fetchComplete
static let fetchComplete: MyDataHelpsKit.ExternalAccountStatus
The connected external account has successfully retrieved data.
fetchingData
static let fetchingData: MyDataHelpsKit.ExternalAccountStatus
The connected external account is in the process of fetching data.
unauthorized
static let unauthorized: MyDataHelpsKit.ExternalAccountStatus
The external account connection was attempted, but not yet authorized.
rawValue
let rawValue: String
The raw value for the provider category as stored in MyDataHelps.
init(rawValue:)
init(rawValue: String)
Initializes an ExternalAccountStatus
with an arbitrary value. Consider using static members such as ExternalAccountStatus.fetchComplete
instead for known values.
Parameters
rawValue
The raw value for the account status as stored in MyDataHelps.