Interface OpenExternalAppCallback

All Superinterfaces:
AsyncCallback<OpenExternalAppCallback.Params,OpenExternalAppCallback.Action>, BrowserAsyncCallback<OpenExternalAppCallback.Params,OpenExternalAppCallback.Action>, BrowserCallback, Callback
All Known Implementing Classes:
DefaultOpenExternalAppCallback, DefaultOpenExternalAppCallback, DefaultOpenExternalAppCallback

This callback is invoked when the currently loaded web page wants to open a link in the associated external application.

In this callback you can display a modal dialog with the localized message that you can get from the callback OpenExternalAppCallback.Params.

Use the OpenExternalAppCallback.Action.open() method to tell the browser that the link should be opened in the associated external application. If the application is not running, the operating system should launch the application and open the link in it.

If the callback throws an exception, the OpenExternalAppCallback.Action.cancel() method will be invoked.