Platforms to show: All Mac Windows Linux Cross-Platform
WebPolicyDecisionListenerMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | HTMLViewer Mac | MBS MacControls Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
Notes:
This classs is not available in Xojo 2020r1 or newer.
This provides the ability to make these decisions asyncrhonously, which means the decision can be made by prompting with a sheet, for example.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- property Handle as Integer
- 4 methods
- method Constructor Private
- method download
- method ignore
- method use
This class has no sub classes.
Some events using this class:
- WebPolicyDelegateMBS.decidePolicyForMIMEType(type as string,request as NSURLRequestMBS, frame as WebFrameMBS, decisionListener as WebPolicyDecisionListenerMBS) as boolean
- WebPolicyDelegateMBS.decidePolicyForNavigationAction(request as NSURLRequestMBS, frame as WebFrameMBS, decisionListener as WebPolicyDecisionListenerMBS, NavigationType as Integer, ModifierFlags as Integer, OriginalURL as string) as boolean
- WebPolicyDelegateMBS.decidePolicyForNewWindowAction(request as NSURLRequestMBS, framename as string, decisionListener as WebPolicyDecisionListenerMBS, NavigationType as Integer, ModifierFlags as Integer, OriginalURL as string) as boolean
The items on this page are in the following plugins: MBS MacControls Plugin.
WebOpenPanelResultListenerMBS - WebPolicyDelegateMBS
Feedback: Report problem or ask question.