#[allow(non_camel_case_types)]
use crate::foundation::NSString;
#[derive(Copy, Clone, Debug)]
pub enum NotificationName {
AudioEngineConfigurationChange,
AudioSessionInterruption,
AudioSessionMediaServicesWereLost,
AudioSessionMediaServicesWereReset,
AudioSessionRouteChange,
AudioSessionSilenceSecondaryAudioHint,
AudioUnitComponentTagsDidChange,
CloudKitAccountChanged,
CLKComplicationServerActiveComplicationsDidChange,
CNContactStoreDidChange,
EKEventStoreChanged,
HKUserPreferencesDidChange,
HMCharacteristicPropertySupportsEvent,
NSBundleResourceRequestLowDiskSpace,
NSCalendarDayChanged,
NSExtensionHostDidBecomeActive,
NSExtensionHostDidEnterBackground,
NSExtensionHostWillEnterForeground,
NSExtensionHostWillResignActive,
NSFileHandleConnectionAccepted,
NSFileHandleDataAvailable,
NSFileHandleReadToEndOfFileCompletion,
NSHTTPCookieManagerAcceptPolicyChanged,
NSHTTPCookieManagerCookiesChanged,
NSManagedObjectContextDidSave,
NSManagedObjectContextObjectsDidChange,
NSManagedObjectContextWillSave,
NSMetadataQueryDidFinishGathering,
NSMetadataQueryDidStartGathering,
NSMetadataQueryDidUpdate,
NSMetadataQueryGatheringProgress,
NSPersistentStoreCoordinatorStoresDidChange,
NSPersistentStoreCoordinatorStoresWillChange,
NSPersistentStoreCoordinatorWillRemoveStore,
NSProcessInfoPowerStateDidChange,
NSSystemClockDidChange,
NSSystemTimeZoneDidChange,
NSURLCredentialStorageChanged,
NSUbiquityIdentityDidChange,
NSUndoManagerCheckpoint,
NSUndoManagerDidCloseUndoGroup,
NSUndoManagerDidOpenUndoGroup,
NSUndoManagerDidRedoChange,
NSUndoManagerDidUndoChange,
NSUndoManagerWillCloseUndoGroup,
NSUndoManagerWillRedoChange,
NSUndoManagerWillUndoChange,
PKPassLibraryDidChange,
PKPassLibraryRemotePaymentPassesDidChange,
UIAccessibilityAnnouncementDidFinish,
UIAccessibilityElementFocused,
WKAudioFilePlayerItemDidPlayToEndTime,
WKAudioFilePlayerItemFailedToPlayToEndTime,
WKAudioFilePlayerItemTimeJumped,
ABPeoplePickerDisplayedPropertyDidChange,
ABPeoplePickerGroupSelectionDidChange,
ABPeoplePickerNameSelectionDidChange,
ABPeoplePickerValueSelectionDidChange,
ACAccountStoreDidChange,
AVAssetChapterMetadataGroupsDidChange,
AVAssetContainsFragmentsDidChange,
AVAssetDurationDidChange,
AVAssetMediaSelectionGroupsDidChange,
AVAssetTrackSegmentsDidChange,
AVAssetTrackTimeRangeDidChange,
AVAssetTrackTrackAssociationsDidChange,
AVAssetWasDefragmented,
AVCaptureDeviceWasConnected,
AVCaptureDeviceWasDisconnected,
AVCaptureInputPortFormatDescriptionDidChange,
AVCaptureSessionDidStartRunning,
AVCaptureSessionDidStopRunning,
AVCaptureSessionRuntimeError,
AVFragmentedMovieContainsMovieFragmentsDidChange,
AVFragmentedMovieDurationDidChange,
AVFragmentedMovieTrackSegmentsDidChange,
AVFragmentedMovieTrackTimeRangeDidChange,
AVFragmentedMovieTrackTotalSampleDataLengthDidChange,
AVFragmentedMovieWasDefragmented,
AVPlayerItemDidPlayToEndTime,
AVPlayerItemFailedToPlayToEndTime,
AVPlayerItemNewAccessLogEntry,
AVPlayerItemNewErrorLogEntry,
AVPlayerItemPlaybackStalled,
AVPlayerItemTimeJumped,
AVSampleBufferDisplayLayerFailedToDecode,
CWBSSIDDidChange,
CWCountryCodeDidChange,
CWLinkDidChange,
CWLinkQualityDidChange,
CWModeDidChange,
CWPowerDidChange,
CWSSIDDidChange,
CWScanCacheDidUpdate,
GCControllerDidConnect,
GCControllerDidDisconnect,
IKFilterBrowserFilterDoubleClick,
IKFilterBrowserFilterSelected,
IKFilterBrowserWillPreviewFilter,
IOBluetoothHostControllerPoweredOff,
IOBluetoothHostControllerPoweredOn,
IOBluetoothL2CAPChannelPublished,
IOBluetoothL2CAPChannelTerminated,
MKAnnotationCalloutInfoDidChange,
NEFilterConfigurationDidChange,
NEVPNConfigurationChange,
NEVPNStatusDidChange,
NSAccessibilityAnnouncementRequested,
NSAccessibilityAnnouncementKey,
NSAccessibilityPriorityKey,
NSAccessibilityApplicationActivated,
NSAccessibilityApplicationDeactivated,
NSAccessibilityApplicationHidden,
NSAccessibilityApplicationShown,
NSAccessibilityCreated,
NSAccessibilityDrawerCreated,
NSAccessibilityFocusedUIElementChanged,
NSAccessibilityFocusedWindowChanged,
NSAccessibilityHelpTagCreated,
NSAccessibilityLayoutChanged,
NSAccessibilityUIElementsKey,
NSAccessibilityMainWindowChanged,
NSAccessibilityMoved,
NSAccessibilityResized,
NSAccessibilityRowCollapsed,
NSAccessibilityRowCountChanged,
NSAccessibilityRowExpanded,
NSAccessibilitySelectedCellsChanged,
NSAccessibilitySelectedChildrenChanged,
NSAccessibilitySelectedChildrenMoved,
NSAccessibilitySelectedColumnsChanged,
NSAccessibilitySelectedRowsChanged,
NSAccessibilitySelectedTextChanged,
NSAccessibilitySheetCreated,
NSAccessibilityTitleChanged,
NSAccessibilityUIElementDestroyed,
NSAccessibilityUnitsChanged,
NSAccessibilityValueChanged,
NSAccessibilityWindowCreated,
NSAccessibilityWindowDeminiaturized,
NSAccessibilityWindowMiniaturized,
NSAccessibilityWindowMoved,
NSAccessibilityWindowResized,
NSAnimationProgressMark,
NSAntialiasThresholdChanged,
NSAppleEventManagerWillProcessFirstEvent,
NSApplicationDidBecomeActive,
NSApplicationDidChangeOcclusionState,
NSApplicationDidChangeScreenParameters,
NSApplicationDidFinishLaunching,
NSApplicationDidFinishRestoringWindows,
NSApplicationDidHide,
NSApplicationDidResignActive,
NSApplicationDidUnhide,
NSApplicationDidUpdate,
NSApplicationWillBecomeActive,
NSApplicationWillFinishLaunching,
NSApplicationWillHide,
NSApplicationWillResignActive,
NSApplicationWillTerminate,
NSApplicationWillUnhide,
NSApplicationWillUpdate,
NSBrowserColumnConfigurationDidChange,
NSClassDescriptionNeededForClass,
NSColorListDidChange,
NSColorPanelColorDidChange,
NSColorPanel,
NSComboBoxSelectionDidChange,
NSComboBoxSelectionIsChanging,
NSComboBoxWillDismiss,
NSComboBoxWillPopUp,
NSContextHelpModeDidActivate,
NSContextHelpModeDidDeactivate,
NSControlTextDidBeginEditing,
NSControlTextDidChange,
NSControlTextDidEndEditing,
NSControlTintDidChange,
NSDrawerDidClose,
NSDrawerDidOpen,
NSDrawerWillClose,
NSDrawerWillOpen,
NSFontCollectionDidChange,
NSFontSetChanged,
NSImageRepRegistryDidChange,
NSMenuDidAddItem,
NSMenuDidBeginTracking,
NSMenuDidChangeItem,
NSMenuDidEndTracking,
NSMenuDidRemoveItem,
NSMenuDidSendAction,
NSMenuWillSendAction,
NSOutlineViewColumnDidMove,
NSOutlineViewColumnDidResize,
NSOutlineViewItemDidCollapse,
NSOutlineViewItemDidExpand,
NSOutlineViewItemWillCollapse,
NSOutlineViewItemWillExpand,
NSOutlineViewSelectionDidChange,
NSOutlineViewSelectionIsChanging,
NSPersistentStoreDidImportUbiquitousContentChanges,
NSPopUpButtonCellWillPopUp,
NSPopUpButtonWillPopUp,
NSPopoverDidClose,
NSPopoverDidShow,
NSPopoverWillClose,
NSPopoverWillShow,
NSPreferencePaneCancelUnselect,
NSPreferencePaneDoUnselect,
NSPreferencePaneSwitchToPane,
NSPreferencePaneUpdateHelpMenu,
NSPreferencePrefPaneIsAvailable,
NSPreferredScrollerStyleDidChange,
NSRuleEditorRowsDidChange,
NSScreenColorSpaceDidChange,
NSScrollViewDidEndLiveMagnify,
NSScrollViewDidEndLiveScroll,
NSScrollViewDidLiveScroll,
NSScrollViewWillStartLiveMagnify,
NSScrollViewWillStartLiveScroll,
NSSpellCheckerDidChangeAutomaticCapitalization,
NSSpellCheckerDidChangeAutomaticDashSubstitution,
NSSpellCheckerDidChangeAutomaticPeriodSubstitution,
NSSpellCheckerDidChangeAutomaticQuoteSubstitution,
NSSpellCheckerDidChangeAutomaticSpellingCorrection,
NSSpellCheckerDidChangeAutomaticTextReplacement,
NSSplitViewDidResizeSubviews,
NSSplitViewWillResizeSubviews,
NSSystemColorsDidChange,
NSTableViewColumnDidMove,
NSTableViewColumnDidResize,
NSTableViewSelectionDidChange,
NSTableViewSelectionIsChanging,
NSTextAlternativesSelectedAlternativeString,
NSTextDidBeginEditing,
NSTextDidChange,
NSTextDidEndEditing,
NSTextInputContextKeyboardSelectionDidChange,
NSTextStorageDidProcessEditing,
NSTextStorageWillProcessEditing,
NSTextViewDidChangeSelection,
NSTextViewDidChangeTypingAttributes,
NSTextViewWillChangeNotifyingTextView,
NSToolbarDidRemoveItem,
NSToolbarWillAddItem,
NSViewBoundsDidChange,
NSViewDidUpdateTrackingAreas,
NSViewFocusDidChange,
NSViewFrameDidChange,
NSViewGlobalFrameDidChange,
NSWindowDidBecomeKey,
NSWindowDidBecomeMain,
NSWindowDidChangeBackingProperties,
NSWindowDidChangeOcclusionState,
NSWindowDidChangeScreen,
NSWindowDidChangeScreenProfile,
NSWindowDidDeminiaturize,
NSWindowDidEndLiveResize,
NSWindowDidEndSheet,
NSWindowDidEnterFullScreen,
NSWindowDidEnterVersionBrowser,
NSWindowDidExitFullScreen,
NSWindowDidExitVersionBrowser,
NSWindowDidExpose,
NSWindowDidMiniaturize,
NSWindowDidMove,
NSWindowDidResignKey,
NSWindowDidResignMain,
NSWindowDidResize,
NSWindowDidUpdate,
NSWindowWillBeginSheet,
NSWindowWillClose,
NSWindowWillEnterFullScreen,
NSWindowWillEnterVersionBrowser,
NSWindowWillExitFullScreen,
NSWindowWillExitVersionBrowser,
NSWindowWillMiniaturize,
NSWindowWillMove,
NSWindowWillStartLiveResize,
NSWorkspaceAccessibilityDisplayOptionsDidChange,
NSWorkspaceActiveSpaceDidChange,
NSWorkspaceDidActivateApplication,
NSWorkspaceDidChangeFileLabels,
NSWorkspaceDidDeactivateApplication,
NSWorkspaceDidHideApplication,
NSWorkspaceDidLaunchApplication,
NSWorkspaceDidMount,
NSWorkspaceDidPerformFileOperation,
NSWorkspaceDidRenameVolume,
NSWorkspaceDidTerminateApplication,
NSWorkspaceDidUnhideApplication,
NSWorkspaceDidUnmount,
NSWorkspaceDidWake,
NSWorkspaceScreensDidSleep,
NSWorkspaceScreensDidWake,
NSWorkspaceSessionDidBecomeActive,
NSWorkspaceSessionDidResignActive,
NSWorkspaceWillLaunchApplication,
NSWorkspaceWillPowerOff,
NSWorkspaceWillSleep,
NSWorkspaceWillUnmount,
PDFDocumentDidBeginFind,
PDFDocumentDidBeginPageFind,
PDFDocumentDidBeginPageWrite,
PDFDocumentDidBeginWrite,
PDFDocumentDidEndFind,
PDFDocumentDidEndPageFind,
PDFDocumentDidEndPageWrite,
PDFDocumentDidEndWrite,
PDFDocumentDidFindMatch,
PDFDocumentDidUnlock,
PDFThumbnailViewDocumentEdited,
PDFViewAnnotationHit,
PDFViewAnnotationWillHit,
PDFViewChangedHistory,
PDFViewCopyPermission,
PDFViewDisplayBoxChanged,
PDFViewDisplayModeChanged,
PDFViewDocumentChanged,
PDFViewPageChanged,
PDFViewPrintPermission,
PDFViewScaleChanged,
PDFViewSelectionChanged,
PDFViewVisiblePagesChanged,
KABDatabaseChanged,
KABDatabaseChangedExternally,
KQuartzFilterManagerDidAddFilter,
KQuartzFilterManagerDidModifyFilter,
KQuartzFilterManagerDidRemoveFilter,
KQuartzFilterManagerDidSelectFilter,
EAAccessoryDidConnect,
EAAccessoryDidDisconnect,
SKCloudServiceCapabilitiesDidChange,
SKStorefrontIdentifierDidChange,
UIAccessibilityAssistiveTouchStatusDidChange,
UIAccessibilityBoldTextStatusDidChange,
UIAccessibilityClosedCaptioningStatusDidChange,
UIAccessibilityDarkerSystemColorsStatusDidChange,
UIAccessibilityGrayscaleStatusDidChange,
UIAccessibilityGuidedAccessStatusDidChange,
UIAccessibilityHearingDevicePairedEarDidChange,
UIAccessibilityInvertColorsStatusDidChange,
UIAccessibilityMonoAudioStatusDidChange,
UIAccessibilityReduceMotionStatusDidChange,
UIAccessibilityReduceTransparencyStatusDidChange,
UIAccessibilityShakeToUndoDidChange,
UIAccessibilitySpeakScreenStatusDidChange,
UIAccessibilitySpeakSelectionStatusDidChange,
UIAccessibilitySwitchControlStatusDidChange,
UIApplicationDidBecomeActive,
UIApplicationDidEnterBackground,
UIApplicationDidFinishLaunching,
UIApplicationDidReceiveMemoryWarning,
UIApplicationSignificantTimeChange,
UIApplicationUserDidTakeScreenshot,
UIApplicationWillEnterForeground,
UIApplicationWillResignActive,
UIApplicationWillTerminate,
UIContentSizeCategoryDidChange,
UIDeviceProximityStateDidChange,
UIScreenBrightnessDidChange,
UIScreenDidConnect,
UIScreenDidDisconnect,
UIScreenModeDidChange,
UITableViewSelectionDidChange,
UITextFieldTextDidBeginEditing,
UITextFieldTextDidChange,
UITextFieldTextDidEndEditing,
UITextInputCurrentInputModeDidChange,
UITextViewTextDidBeginEditing,
UITextViewTextDidChange,
UITextViewTextDidEndEditing,
UIViewControllerShowDetailTargetDidChange,
UIWindowDidBecomeHidden,
UIWindowDidBecomeKey,
UIWindowDidBecomeVisible,
UIWindowDidResignKey,
AVCaptureDeviceSubjectAreaDidChange,
AVCaptureSessionInterruptionEnded,
AVCaptureSessionWasInterrupted,
MFMessageComposeViewControllerTextMessageAvailabilityDidChange,
MPMediaLibraryDidChange,
MPMusicPlayerControllerNowPlayingItemDidChange,
MPMusicPlayerControllerPlaybackStateDidChange,
MPMusicPlayerControllerVolumeDidChange,
UIApplicationBackgroundRefreshStatusDidChange,
UIDeviceBatteryLevelDidChange,
UIDeviceBatteryStateDidChange,
UIDeviceOrientationDidChange,
UIDocumentStateChanged,
UIKeyboardDidChangeFrame,
UIKeyboardDidHide,
UIKeyboardDidShow,
UIKeyboardWillChangeFrame,
UIKeyboardWillHide,
UIKeyboardWillShow,
UIMenuControllerDidHideMenu,
UIMenuControllerDidShowMenu,
UIMenuControllerMenuFrameDidChange,
UIMenuControllerWillHideMenu,
UIMenuControllerWillShowMenu,
UIPasteboardChanged,
UIPasteboardRemoved,
UIApplicationProtectedDataDidBecomeAvailable,
UIApplicationProtectedDataWillBecomeUnavailable,
NSSpellCheckerDidChangeAutomaticTextCompletion,
MPMusicPlayerControllerQueueDidChange,
AVDisplayManagerModeSwitchEnd,
AVDisplayManagerModeSwitchSettingsChanged,
AVDisplayManagerModeSwitchStart,
AVPlayerAvailableHDRModesDidChange,
AVRouteDetectorMultipleRoutesDetectedDidChange,
AVSampleBufferAudioRendererWasFlushedAutomatically,
CTServiceRadioAccessTechnologyDidChange,
GKPlayerAuthenticationDidChangeNotificationName,
GKPlayerDidChangeNotificationName,
NEDNSProxyConfigurationDidChange,
NSPersistentStoreRemoteChange,
SKStorefrontCountryCodeDidChange,
WKAccessibilityReduceMotionStatusDidChange
}
impl From<NotificationName> for NSString<'_> {
fn from(name: NotificationName) -> Self {
match name {
_ => NSString::no_copy("")
}
}
}