SwiftstructSoftwareUpdateUIKit

struct SoftwareUpdateUIKit.ScanFailedView

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 11

  1. funcstatic generalError(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
  2. funcstatic networkUnavailable(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
  3. funcstatic rapidReturnToService(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
  4. fieldvar _hostDevice: SwiftUI.Environment<SoftwareUpdateUIFoundation.SUUIDeviceDescriptor>
  5. fieldvar _targetDevice: SwiftUI.Environment<SoftwareUpdateUIFoundation.SUUIDeviceDescriptor>
  6. fieldlet internalErrorDescription: String?
  7. fieldlet reason: SoftwareUpdateUIKit.ScanFailedReason
  8. fieldlet tryAgainAction: (() -> ())?
  9. initinit(reason: SoftwareUpdateUIKit.ScanFailedReason, internalErrorDescription: String?, tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
  10. typealiastypealias Body = SwiftUI.ContentUnavailableView<SwiftUI.Label<SwiftUI.Text, SwiftUI.Image>, SwiftUI.Text, Swift.Optional<SwiftUI.Button<SwiftUI.Text>>>
  11. varvar body: some SwiftUI.View { get }
struct ScanFailedView {
    // synthesized from the backing storage `_hostDevice`; the property's own accessors are stripped
    @SwiftUI.Environment var hostDevice: SoftwareUpdateUIFoundation.SUUIDeviceDescriptor {
        get
    }
    // synthesized from the backing storage `_targetDevice`; the property's own accessors are stripped
    @SwiftUI.Environment var targetDevice: SoftwareUpdateUIFoundation.SUUIDeviceDescriptor {
        get
    }
    let reason: SoftwareUpdateUIKit.ScanFailedReason
    let internalErrorDescription: Swift.String?
    let tryAgainAction: (() -> ())?

    init(reason: SoftwareUpdateUIKit.ScanFailedReason, internalErrorDescription: Swift.String?, tryAgainAction: (() -> ())?)

    var body: some SwiftUI.View {
        get
    }

    static func generalError(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
    static func networkUnavailable(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
    static func rapidReturnToService(tryAgainAction: (() -> ())?) -> SoftwareUpdateUIKit.ScanFailedView
}