kIOPMAssertionTimeoutKey specifies an outer bound, in seconds, that this assertion should be asserted.
- macOS 10.7+
- Mac Catalyst 13.0+
If your application hangs, or is unable to complete its assertion task in a reasonable amount of time, specifying a timeout allows PM to disable your assertion so the system can resume normal activity. Once a timeout with the
k assertion fires, the level will be set to
k. The assertion may be re-armed by calling IOPMAssertionSetLevel.
This key may be specified in the dictionary passed to
This key may be present in the dictionary returned from