SwiftclassImagePlaygroundInternal

@Observable class ImagePlaygroundInternal.DebugSettings

Structure

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

inherits{}

Members 24

  1. varstatic var contextDaysDefaultValue: Int { get }
  2. varstatic var contextDaysMax: Int { get }
  3. varstatic var contextDaysMin: Int { get }
  4. varstatic var contextMessageCountDefaultValue: Int { get }
  5. varstatic var contextMessageCountMax: Int { get }
  6. varstatic var contextMessageCountMin: Int { get }
  7. varstatic var shared: ImagePlaygroundInternal.DebugSettings { get }
  8. deinitdeinit
  9. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  10. fieldlet lock: os.OSAllocatedUnfairLock<ImagePlaygroundInternal.DebugSettings.MutableState>
  11. fieldlet montaraGenerationCount: Synchronization.Atomic<Int>
  12. funcclearRecentPersons() -> ()
  13. funcdeleteAllCharacters() -> ()
  14. funcpurgeAllPersonsAttributes() -> ()
  15. funcpurgeFacePickerCache() -> ()
  16. funcrebuildAllAlbums() -> ()
  17. funcremoveAllPhotoLibraryAssets() -> ()
  18. funcresetCuratedPromptsDatabase() -> ()
  19. varfinal var contextDays: Int { get set }
  20. varfinal var contextMessageCount: Int { get set }
  21. varfinal var emojiSubstitutionMode: ImagePlaygroundInternal.DebugSettings.EmojiSubstitutionMode { get set }
  22. varfinal var servicesFetcher: ImagePlaygroundInternal.ServicesFetcher? { get set }
  23. varfinal var shouldEnablePromptRewriteForNonPersonalized: Bool { get set }
  24. varfinal var shouldEnablePromptRewriteForPersonalized: Bool { get set }
@Observation.Observable
class DebugSettings {
    enum EmojiSubstitutionMode {
        case descriptionsOnly
        case descriptionsWithDemographics
        case passthrough
    }
    struct MutableState {
        var servicesFetcher: ImagePlaygroundInternal.ServicesFetcher?
        var hasSeenOnboardingThisLaunch: Swift.Bool
    }
    let lock: os.OSAllocatedUnfairLock<ImagePlaygroundInternal.DebugSettings.MutableState>
    let montaraGenerationCount: Synchronization.Atomic<Swift.Int>

    final var contextDays: Swift.Int {
        get
        set
    }
    final var contextMessageCount: Swift.Int {
        get
        set
    }
    final var emojiSubstitutionMode: ImagePlaygroundInternal.DebugSettings.EmojiSubstitutionMode {
        get
        set
    }
    final var servicesFetcher: ImagePlaygroundInternal.ServicesFetcher? {
        get
        set
    }
    final var shouldEnablePromptRewriteForNonPersonalized: Swift.Bool {
        get
        set
    }
    final var shouldEnablePromptRewriteForPersonalized: Swift.Bool {
        get
        set
    }

    final func rebuildAllAlbums()
    final func clearRecentPersons()
    final func deleteAllCharacters()
    final func purgeFacePickerCache()
    final func purgeAllPersonsAttributes()
    final func removeAllPhotoLibraryAssets()
    final func resetCuratedPromptsDatabase()

    static var contextDaysDefaultValue: Swift.Int {
        get
    }
    static var contextDaysMax: Swift.Int {
        get
    }
    static var contextDaysMin: Swift.Int {
        get
    }
    static var contextMessageCountDefaultValue: Swift.Int {
        get
    }
    static var contextMessageCountMax: Swift.Int {
        get
    }
    static var contextMessageCountMin: Swift.Int {
        get
    }
    static var shared: ImagePlaygroundInternal.DebugSettings {
        get
    }

    deinit
}