Building Mobile Enterprise Applications : webMethods Mobile Designer Native User Interface Reference : Native User Interface (NativeUI) Objects : nUIWebviewCallBack
nUIWebviewCallBack
Use to monitor when a user clicks a URL, and control the resulting action that the application takes in response to the user clicking the URL.
To use nUIWebviewCallBack, register a class that implements nUIWebviewCallBack with the web-based NativeUI object that contains the URL you want to monitor, for example, a nUIWebView or nUIWebviewElement object. When a user clicks a URL in the web-based NativeUI object, the application code can then take an appropriate action. For example, you might code the application to:
*Change the URL before passing it to the containing web-based NativeUI object to redirect the NativeUI object.
*Return a null to prevent a page load. This is useful when navigation to a new URL is not needed.
*Queue a new NativeUI event to allow the web-based NativeUI object to interact with the rest of the application.
Usage Notes
*The Windows RT/Windows 8 platform does not support URL events via nUIWebViewCallBack.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback