1 // Copyright (c) 2014 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.xwalk.core.internal;
7 import android.content.Intent;
8 import android.graphics.Bitmap;
10 interface XWalkNotificationService {
11 public void setBridge(XWalkContentsClientBridge bridge);
12 public void showNotification(
13 String title, String message, int notificationId, long delegate);
14 public void updateNotificationIcon(int notificationId, Bitmap icon);
15 public void cancelNotification(int notificationId, long delegate);
16 public void shutdown();
17 public boolean maybeHandleIntent(Intent intent);