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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final int checkPermission()
checkPermission
in interface NotificationCenter
public final JsNotification createHTMLNotification(String url)
createHTMLNotification
in interface NotificationCenter
public final JsNotification createNotification(String iconUrl, String title, String body)
createNotification
in interface NotificationCenter
public final void requestPermission(VoidCallback callback)
requestPermission
in interface NotificationCenter
Copyright © 2016. All rights reserved.