requestWithError:
Requests a capability for the current process.
Declaration
- (id<BEProcessCapabilityGrant>) requestWithError:(NSError **) error;Parameters
- error:
A pointer to an error object that describes why the method failed, or
nilif no error occurred. Passnilto ignore the error.
Discussion
This method returns the granted capability, if possible; otherwise, it returns nil and sets the argument error object.