[ Version ( since = "1.4" ) ]
public Inhibitor? inhibit (ApplicationInhibitFlags flags, string reason)
Inhibits one or more particular actions in the session.
When the resulting Inhibitor releases it's last reference the inhibitor will be dismissed. Alternatively, you may force the release of the inhibit using uninhibit .
| this | |
| flags |
the inhibit flags |
| reason |
the reason for the inhibit |
|
a Inhibitor or null |