Expand description
Process information for Foundation.
Corresponds to Foundation/NSProcessInfo.hpp.
§C++ Equivalent
namespace NS {
_NS_ENUM(NS::Integer, ProcessInfoThermalState) {
ProcessInfoThermalStateNominal = 0,
ProcessInfoThermalStateFair = 1,
ProcessInfoThermalStateSerious = 2,
ProcessInfoThermalStateCritical = 3
};
_NS_OPTIONS(std::uint64_t, ActivityOptions) { ... };
class ProcessInfo : public Referencing<ProcessInfo> {
public:
static ProcessInfo* processInfo();
class Array* arguments() const;
class Dictionary* environment() const;
// ... many more methods
};
}Structs§
- Activity
Options - Activity options for process activities.
- Process
Info - An Objective-C process info object.
- Process
Info Thermal State - Thermal state of the system.
Type Aliases§
- Device
Certification - Device certification type.
- Process
Performance Profile - Process performance profile type.