SwiftenumContentKit

enum ContentKit.WFGenerativeModelName

Structure

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

Members 14

  1. varstatic var builtInCases: [ContentKit.WFGenerativeModelName] { get }
  2. varstatic var externalPartnerPrefix: String { get }
  3. varstatic var migratedChatGPTModelName: ContentKit.WFGenerativeModelName { get }
  4. varstatic var siriSettingsPunchOutURL: Foundation.URL { get }
  5. casecase afm
  6. casecase afmOnDevice
  7. casecase afmPro
  8. casecase externalPartner(providerID: String, bundleID: String, name: String, teamIdentifier: String)
  9. funcicon(for: ContentKit.WFGenerativeModelName.Icon.Context, enhancedSiriHelper: ContentKit.WFEnhancedSiriEnablementProviding, resolvedBundleIdentifier: String?) -> ContentKit.WFGenerativeModelName.Icon
  10. funclocalizedCaption(using: ContentKit.WFMontaraEnablementHelper) -> String?
  11. funclocalizedName() -> String
  12. funclocalizedShortName() -> String
  13. funcpunchOutURL(using: ContentKit.WFMontaraEnablementHelper) -> Foundation.URL
  14. typealiastypealias RawValue = Swift.String
enum WFGenerativeModelName {
    enum Icon {
        enum Context {
            case action
            case picker
            case attribution
        }
        case symbol(symbolName: Swift.String, bundle: __C.NSBundle?)
        case appIcon(bundleIdentifier: Swift.String)
        case workflowKitImage(named: Swift.String)
        case image(image: __C.WFImage)
    }
    case externalPartner(providerID: Swift.String, bundleID: Swift.String, name: Swift.String, teamIdentifier: Swift.String)
    case afm
    case afmPro
    case afmOnDevice

    func localizedShortName() -> Swift.String
    func localizedName() -> Swift.String
    func punchOutURL(using: ContentKit.WFMontaraEnablementHelper) -> Foundation.URL
    func localizedCaption(using: ContentKit.WFMontaraEnablementHelper) -> Swift.String?
    func icon(for: ContentKit.WFGenerativeModelName.Icon.Context, enhancedSiriHelper: any ContentKit.WFEnhancedSiriEnablementProviding, resolvedBundleIdentifier: Swift.String?) -> ContentKit.WFGenerativeModelName.Icon

    static var builtInCases: [ContentKit.WFGenerativeModelName] {
        get
    }
    static var externalPartnerPrefix: Swift.String {
        get
    }
    static var migratedChatGPTModelName: ContentKit.WFGenerativeModelName {
        get
    }
    static var siriSettingsPunchOutURL: Foundation.URL {
        get
    }
}