Name
available, ondemand.available, kPMRPCOnDemandAvailable, kPMObserveOnDemandAvailable — Available on demand events.
Synopsis
array of s ondemand.available( |
); |
Description
Available on demand events.
events supporting the on demand behaviour and are available to perform.
To appear in this list an event must support on demand. The event must be immediately available to perform. The scheduler must be enabled; thus able to actually perform.
Security
available can be requested by any authenticated client.
Unauthenticated clients are authorized using the uk.co.dssw.powermanager.ondemand.available right. By default, any local process can request available.
Examples
Example 92. C: ondemand.available
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCOnDemandAvailable);
Example 93. Objective-C: ondemand.available
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCOnDemandAvailable];
Example 94. AppleScript: ondemand.available
tell application "Power Manager Scripting"
set myResult to available of On Demand
end tell