Methods Summary |
---|
public void | allow(java.lang.String origin)Allows the specified origin to use the Geolocation API.
// Must be a no-op for backward compatibility: see the hidden constructor for reason.
|
public void | clear(java.lang.String origin)Clears the Geolocation permission state for the specified origin.
// Must be a no-op for backward compatibility: see the hidden constructor for reason.
|
public void | clearAll()Clears the Geolocation permission state for all origins.
// Must be a no-op for backward compatibility: see the hidden constructor for reason.
|
public void | getAllowed(java.lang.String origin, ValueCallback callback)Gets the Geolocation permission state for the specified origin.
// Must be a no-op for backward compatibility: see the hidden constructor for reason.
|
public static android.webkit.GeolocationPermissions | getInstance()Gets the singleton instance of this class. This method cannot be
called before the application instantiates a {@link WebView} instance.
return WebViewFactory.getProvider().getGeolocationPermissions();
|
public void | getOrigins(ValueCallback callback)Gets the set of origins for which Geolocation permissions are stored.
// Must be a no-op for backward compatibility: see the hidden constructor for reason.
|