diff --git a/framework/src/com/phonegap/api/Plugin.java b/framework/src/com/phonegap/api/Plugin.java index 7efd2ed2..fa8af025 100755 --- a/framework/src/com/phonegap/api/Plugin.java +++ b/framework/src/com/phonegap/api/Plugin.java @@ -104,6 +104,12 @@ public abstract class Plugin implements IPlugin { public void onActivityResult(int requestCode, int resultCode, Intent intent) { } + /** + * By specifying a in plugins.xml you can map a URL (using startsWith atm) to this method. + * + * @param url The URL that is trying to be loaded in the PhoneGap webview. + * @return Return true to prevent the URL from loading. Default is false. + */ public boolean onOverrideUrlLoading(String url) { return false; }