public class SalesforceWebViewClientHelper
extends java.lang.Object
Constructor and Description |
---|
SalesforceWebViewClientHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAppHomeUrl(Context ctx) |
static boolean |
hasCachedAppHome(Context ctx) |
static boolean |
onHomePage(Context ctx,
WebView view,
java.lang.String url)
To be called from onPageFinished.
|
static boolean |
shouldOverrideUrlLoading(Context ctx,
WebView view,
java.lang.String url)
To be called from shouldOverrideUrlLoading.
|
public static boolean shouldOverrideUrlLoading(Context ctx, WebView view, java.lang.String url)
ctx
- Context.view
- The webview initiating the callback.url
- The url of the page.public static boolean onHomePage(Context ctx, WebView view, java.lang.String url)
ctx
- Context.view
- The webview initiating the callback.url
- The url of the page.public static java.lang.String getAppHomeUrl(Context ctx)
public static boolean hasCachedAppHome(Context ctx)
ctx
- Context.