| java.lang.Object | |
| ↳ | com.pspdfkit.configuration.policy.ApplicationPolicy |
Known Direct Subclasses
|
Application policy.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | ApplicationPolicy.PolicyEvent | Currently supported policy events. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ApplicationPolicy() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
hasPermissionForEvent(ApplicationPolicy.PolicyEvent event)
Called to check if certain policy action should be allowed or not.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Called to check if certain policy action should be allowed or not.
Since this may get called on main thread multiple times it should be fast.
| event | Event to be permitted or disabled |
|---|
true to allow the event, false to prevent it