public interface ServiceWorker
Modifier and Type | Method and Description |
---|---|
void |
deliverPushMessage(String origin,
String registrationId,
String data) |
void |
disable() |
void |
dispatchSyncEvent(String origin,
String registrationId,
String tag,
Boolean lastChance) |
void |
enable() |
void |
inspectWorker(String versionId) |
void |
setForceUpdateOnPageLoad(Boolean forceUpdateOnPageLoad) |
void |
skipWaiting(String scopeURL) |
void |
startWorker(String scopeURL) |
void |
stopWorker(String versionId) |
void |
unregister(String scopeURL) |
void |
updateRegistration(String scopeURL) |
void enable()
void disable()
void unregister(String scopeURL)
void updateRegistration(String scopeURL)
void startWorker(String scopeURL)
void skipWaiting(String scopeURL)
void stopWorker(String versionId)
void inspectWorker(String versionId)
void setForceUpdateOnPageLoad(Boolean forceUpdateOnPageLoad)
Copyright © 2017 WebFolder OÜ. All rights reserved.