SwiftclassVisualIntelligenceUI

@Observable class VisualIntelligenceUI.NewActionModel

Structure

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

Members 31

  1. deinitdeinit
  2. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  3. fieldvar _action: (() -> ())?+0x28
  4. fieldvar _extractionPhase: VisualIntelligenceUI.NewActionModel.ExtractionPhase
  5. fieldvar _isSelected: Bool
  6. fieldvar _localizedTitle: String+0x38
  7. fieldvar _pill: VisualIntelligenceCore.ActionPin.Pill?
  8. fieldvar _prominence: VisualIntelligenceUI.NewActionModel.Prominence+0x20
  9. fieldvar _semanticDataDetectorActionable: VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable?
  10. fieldvar _specialActionType: VisualIntelligenceUI.NewActionModel.SpecialActionType?
  11. fieldvar _subtitle: String?+0x48
  12. fieldvar _systemImage: String+0x58
  13. fieldvar _tapState: VisualIntelligenceUI.NewActionModel.TapState
  14. fieldlet id: String+0x10
  15. funcapply(pill: VisualIntelligenceCore.ActionPin.Pill) -> ()
  16. funcdataDetectorsAsItems(entity: VisualIntelligenceUI.NewEntityModel, filterForUI: Bool) -> [VisualIntelligenceUI.OmnibarModel.Item]
  17. initVisualIntelligenceUI.NewActionModel.__allocating_init(dataDetector: VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable) -> VisualIntelligenceUI.NewActionModel
  18. initVisualIntelligenceUI.NewActionModel.__allocating_init(pill: VisualIntelligenceCore.ActionPin.Pill) -> VisualIntelligenceUI.NewActionModel
  19. initVisualIntelligenceUI.NewActionModel.__allocating_init(title: String, systemImage: String) -> VisualIntelligenceUI.NewActionModel
  20. typealiastypealias ID = Swift.String
  21. varfinal var dataDetectors: [VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable]? { get }
  22. varfinal var isPartneredAskAction: Bool { get }
  23. varfinal var isPartneredSearchAction: Bool { get }
  24. varfinal var isSelected: Bool { get set }
  25. varfinal var isStreamingAction: Bool { get }
  26. varfinal var isTextAction: Bool { get }
  27. varfinal var isTextDataDetectorAction: Bool { get }
  28. varfinal var localizedTitle: String { get set }
  29. varfinal var pill: VisualIntelligenceCore.ActionPin.Pill? { get set }
  30. varfinal var semanticDataDetectorActionable: VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable? { get set }
  31. varfinal var systemImage: String { get set }
@Observation.Observable
class NewActionModel {
    enum Prominence {
        case prominent
        case interesting
        case dormant
    }
    enum ExtractionPhase {
        case awaitingFinalize(Foundation.UUID)
        case finalizing(Foundation.UUID)
        case finalized(Foundation.UUID)
        case idle
    }
    enum TapState {
        case ready
        case executing
        case cached
    }
    enum SpecialActionType {
        case translate
    }
    let id: Swift.String
    // synthesized from the storage `_prominence` that @Observable generated; the property's own accessors are stripped
    var prominence: VisualIntelligenceUI.NewActionModel.Prominence
    // synthesized from the storage `_action` that @Observable generated; the property's own accessors are stripped
    var action: (() -> ())?
    final var localizedTitle: Swift.String
    // synthesized from the storage `_subtitle` that @Observable generated; the property's own accessors are stripped
    var subtitle: Swift.String?
    final var systemImage: Swift.String
    final var semanticDataDetectorActionable: VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable?
    final var pill: VisualIntelligenceCore.ActionPin.Pill?
    // synthesized from the storage `_tapState` that @Observable generated; the property's own accessors are stripped
    var tapState: VisualIntelligenceUI.NewActionModel.TapState
    final var isSelected: Swift.Bool
    // synthesized from the storage `_specialActionType` that @Observable generated; the property's own accessors are stripped
    var specialActionType: VisualIntelligenceUI.NewActionModel.SpecialActionType?
    // synthesized from the storage `_extractionPhase` that @Observable generated; the property's own accessors are stripped
    var extractionPhase: VisualIntelligenceUI.NewActionModel.ExtractionPhase

    init(pill: VisualIntelligenceCore.ActionPin.Pill)
    init(dataDetector: VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable)
    init(title: Swift.String, systemImage: Swift.String)

    final var dataDetectors: [VisualIntelligenceCoreDDSupport.SemanticDataDetectorActionable]? {
        get
    }
    final var isPartneredAskAction: Swift.Bool {
        get
    }
    final var isPartneredSearchAction: Swift.Bool {
        get
    }
    final var isStreamingAction: Swift.Bool {
        get
    }
    final var isTextAction: Swift.Bool {
        get
    }
    final var isTextDataDetectorAction: Swift.Bool {
        get
    }

    final func dataDetectorsAsItems(entity: VisualIntelligenceUI.NewEntityModel, filterForUI: Swift.Bool) -> [VisualIntelligenceUI.OmnibarModel.Item]
    final func apply(pill: VisualIntelligenceCore.ActionPin.Pill)

    deinit
}