
public class JsNotificationCenter extends JsElementalMixinBase implements NotificationCenter
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsNotificationCenter() |
| Modifier and Type | Method and Description |
|---|---|
int |
checkPermission() |
JsNotification |
createHTMLNotification(String url) |
JsNotification |
createNotification(String iconUrl,
String title,
String body) |
void |
requestPermission(VoidCallback callback) |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringintAt, lengthnumberAtpublic final int checkPermission()
checkPermission in interface NotificationCenterpublic final JsNotification createHTMLNotification(String url)
createHTMLNotification in interface NotificationCenterpublic final JsNotification createNotification(String iconUrl, String title, String body)
createNotification in interface NotificationCenterpublic final void requestPermission(VoidCallback callback)
requestPermission in interface NotificationCenterCopyright © 2016. All rights reserved.