SwiftenumChatKit
enum ChatKit.DetailsInfoTabView.Toggles
Header
enum ChatKit.DetailsInfoTabView.Toggles { struct TranslationSection { // synthesized from the backing storage `_viewModel`; the property's own accessors are stripped @SwiftUI.Bindable var viewModel: ChatKit.DetailsInfoTabView.Toggles.ViewModel { get set } // synthesized from the backing storage `_showLanguagePickerAlert`; the property's own accessors are stripped @SwiftUI.State var showLanguagePickerAlert: Swift.Bool { get set } // synthesized from the backing storage `_showLanguagePicker`; the property's own accessors are stripped @SwiftUI.State var showLanguagePicker: Swift.Bool { get set } // synthesized from the backing storage `_showTranslateToPicker`; the property's own accessors are stripped @SwiftUI.State var showTranslateToPicker: Swift.Bool { get set } // synthesized from the backing storage `_showCellularDownloadAlert`; the property's own accessors are stripped @SwiftUI.State var showCellularDownloadAlert: Swift.Bool { get set } } @Observation.Observable class ViewModel { enum TranslationDetailCellDisplayType { case downloadPrompt(Swift.String) case hidden case languageReady } // synthesized from the storage `_hideAlertsEnabled` that @Observable generated; the property's own accessors are stripped var hideAlertsEnabled: Swift.Bool // synthesized from the storage `_readReceiptsEnabled` that @Observable generated; the property's own accessors are stripped var readReceiptsEnabled: Swift.Bool // synthesized from the storage `_shareFocusStatusTask` that @Observable generated; the property's own accessors are stripped var shareFocusStatusTask: Swift.Task<(), Swift.Never>? // synthesized from the storage `_shareFocusStatusEnabled` that @Observable generated; the property's own accessors are stripped var shareFocusStatusEnabled: Swift.Bool // synthesized from the storage `_sharedWithYouTask` that @Observable generated; the property's own accessors are stripped var sharedWithYouTask: Swift.Task<(), Swift.Never>? // synthesized from the storage `_sharedWithYouEnabled` that @Observable generated; the property's own accessors are stripped var sharedWithYouEnabled: Swift.Bool // synthesized from the storage `_ldmExemptionTask` that @Observable generated; the property's own accessors are stripped var ldmExemptionTask: Swift.Task<(), Swift.Never>? // synthesized from the storage `_senderExemptFromLDM` that @Observable generated; the property's own accessors are stripped var senderExemptFromLDM: Swift.Bool // synthesized from the storage `_translationLanguageStatus` that @Observable generated; the property's own accessors are stripped var translationLanguageStatus: IMSharedUtilities.TranslationLanguageStatus // synthesized from the storage `_userTranslationLanguageStatus` that @Observable generated; the property's own accessors are stripped var userTranslationLanguageStatus: IMSharedUtilities.TranslationLanguageStatus let conversation: __C.CKConversation let configuration: CommunicationDetails.DetailsViewController.ObservableConfiguration // synthesized from the storage `__isInitializing` that @Observable generated; the property's own accessors are stripped var _isInitializing: Swift.Bool // synthesized from the storage `__isAsyncInitializing` that @Observable generated; the property's own accessors are stripped var _isAsyncInitializing: Swift.Bool // synthesized from the storage `__languageViewModel` that @Observable generated; the property's own accessors are stripped var _languageViewModel: ChatKit.CKLanguageSelectionViewModel? // synthesized from the storage `__translateToLanguageViewModel` that @Observable generated; the property's own accessors are stripped var _translateToLanguageViewModel: ChatKit.CKLanguageSelectionViewModel? // synthesized from the storage `_suggestedTranslationLanguages` that @Observable generated; the property's own accessors are stripped var suggestedTranslationLanguages: [Swift.String] // synthesized from the storage `__supportedToggleSections` that @Observable generated; the property's own accessors are stripped var _supportedToggleSections: [ChatKit.DetailsInfoTabView.Toggles.ToggleSection] let conversationTransportSupportsExemptions: Swift.Bool // synthesized from the storage `_nonInteractableToggles` that @Observable generated; the property's own accessors are stripped var nonInteractableToggles: Swift.Set<ChatKit.DetailsInfoTabView.Toggles.ToggleType> let ldmManager: LockdownMode.LockdownModeManager } enum ToggleType { case hideAlerts case readReceipts case shareFocusStatus case sharedWithYou case translationStatus case ldmExemption } enum ToggleSection { case standard([ChatKit.DetailsInfoTabView.Toggles.ToggleType]) case translation([ChatKit.DetailsInfoTabView.Toggles.ToggleType]) } struct ContentView { // synthesized from the backing storage `_viewModel`; the property's own accessors are stripped @SwiftUI.State var viewModel: ChatKit.DetailsInfoTabView.Toggles.ViewModel { get set } } }