Starts a user attention request.
- macOS 10.1+
The severity of the request. For a list of possible values, see
.Request User Attention Type
The identifier for the request. You can use this value to cancel the request later using the
Activating the app cancels the user attention request. A spoken notification will occur if spoken notifications are enabled. Sending
request to an app that is already active has no effect.
If the inactive app presents a modal panel, this method will be invoked with
NSCritical automatically. The modal panel is not brought to the front for an inactive app.