public static interface GeolocationPermissions.Callback
Modifier and Type | Method and Description |
---|---|
void |
invoke(String origin,
boolean allow,
boolean retain)
Sets the Geolocation permission state for the supplied origin.
|
void invoke(String origin, boolean allow, boolean retain)
origin
- the origin for which permissions are setallow
- whether or not the origin should be allowed to use the
Geolocation APIretain
- whether the permission should be retained beyond the
lifetime of a page currently being displayed by a
WebView