Contents

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 nil if no error occurred. Pass nil to ignore the error.

Discussion

This method returns the granted capability, if possible; otherwise, it returns nil and sets the argument error object.