| java.lang.Object | ||
| ↳ | com.pspdfkit.configuration.policy.ApplicationPolicy | |
| ↳ | com.pspdfkit.configuration.policy.DefaultApplicationPolicy | |
Default application policy which doesn't add any restrictions - all features are enabled.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DefaultApplicationPolicy() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
hasPermissionForEvent(ApplicationPolicy.PolicyEvent event)
Called to check if certain policy action should be allowed or not.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.configuration.policy.ApplicationPolicy
| |||||||||||
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