Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

IOPMMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Power MBS MacOSX Plugin 8.7 Yes No No Yes, macOS only No
Function: The Mac OS X class which can control the energy settings.
Example:
dim p as new IOPMMBS

Listbox1.AddRow "EthernetWakeOnLANSettings: "+str(p.EthernetWakeOnLANSettings)
Listbox1.AddRow "GeneralAggressiveness: "+str(p.GeneralAggressiveness)
Listbox1.AddRow "MinutesToDim: "+str(p.MinutesToDim)
Listbox1.AddRow "MinutesToSleep: "+str(p.MinutesToSleep)
Listbox1.AddRow "MinutesToSpinDown: "+str(p.MinutesToSpinDown)
Listbox1.AddRow "MotionSensor: "+str(p.MotionSensor)
Listbox1.AddRow "PowerSource: "+str(p.PowerSource)
Listbox1.AddRow "SetProcessorSpeed: "+str(p.SetProcessorSpeed)
Notes: The functions and properties are not described from Apple.

Feedback, Comments & Corrections

This class has no sub classes.


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


IOPMAssertionMBS   -   IOPowerSourcesMBS




Links
MBS Xojo Plugins