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;
7 import android.content.Intent;
8 import android.graphics.Bitmap;
10 public interface XWalkNotificationService {
11 public void setBridge(XWalkContentsClientBridge bridge);
12 public void showNotification(
13 String title, String message, int notificationId, int processId, int routeId);
14 public void updateNotificationIcon(int notificationId, Bitmap icon);
15 public void cancelNotification(int notificationId, int processId, int routeId);
16 public void shutdown();
17 public boolean maybeHandleIntent(Intent intent);