Package org.mozilla.geckoview
Interface GeckoRuntime.ServiceWorkerDelegate
- Enclosing class:
- GeckoRuntime
@UiThread
public static interface GeckoRuntime.ServiceWorkerDelegate
-
Method Summary
Modifier and TypeMethodDescriptiononOpenWindow
(String url) This is called when a service worker tries to open a new window using client.openWindow() The GeckoView application should provide an openGeckoSession
to open the url.
-
Method Details
-
onOpenWindow
This is called when a service worker tries to open a new window using client.openWindow() The GeckoView application should provide an openGeckoSession
to open the url.- Parameters:
url
- Url which the Service Worker wishes to open in a new window.- Returns:
- New or existing open
GeckoSession
in which to open the requested url. - See Also:
-