Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSProcessInfoMBS class.

Activity Options

NSProcessInfoMBS.NSActivityLatencyCritical as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Process MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the activity option constants.

Flag to indicate the activity requires the highest amount of timer and I/O precision available.
Important: Very few applications should need to use this constant.
Available in OS X v10.9 and later.
Value is &hFF00000000.

Some examples using this method:

NSProcessInfoMBS.NSProcessInfoPowerStateDidChangeNotification as String   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Process MBS MacBase Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The name of the notification that is posted when the power state of a device changes.

After your observer receives this notification, query the lowPowerModeEnabled property to determine the current power state of the device. If Low Power Mode is active, take appropriate steps to reduce activity in your app. Otherwise, your app can resume normal operations.
The notification object is an NSProcessInfo instance.

Some examples using this method:

NSProcessInfoMBS.NSProcessInfoThermalStateDidChangeNotification as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Process MBS MacBase Plugin 15.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The notification name to use with NSNotificationObserverMBS.

This notification is posted once the thermal state of the system has changed. Once the notification is posted, use the thermalState property to retrieve the current thermal state of the system.

You can use this opportunity to take corrective action in your application to help cool the system down. Work that could be done in the background or at opportunistic times should be using the Quality of Service levels in NSOperation or the NSBackgroundActivityScheduler API.

This notification is posted on the global dispatch queue. Register for it using the default notification center. The object associated with the notification is NSProcessInfoMBS.processInfo.

Some examples using this method:

NSProcessInfoMBS.processInfo as NSProcessInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Process MBS MacBase Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the process information agent for the process.

Some examples using this method:

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...