added in version 22.1.0
belongs to Maven artifact


public abstract class NotificationCompatSideChannelService
extends Service

   ↳ android.content.Context
     ↳ android.content.ContextWrapper

Abstract service to receive side channel notifications sent from NotificationManagerCompat.

To receive side channel notifications, extend this service and register it in your android manifest with an intent filter for the BIND_NOTIFICATION_SIDE_CHANNEL action. Note: you must also have an enabled NotificationListenerService within your package.

Example AndroidManifest.xml addition:

 <service android:name="com.example.NotificationSideChannelService">
         <action android:name="" />


Inherited constants

From class
From class android.content.Context
From interface android.content.ComponentCallbacks2

Public constructors


Public methods

abstract void cancel(String packageName, int id, String tag)

Handle a side-channelled notification being cancelled.

abstract void cancelAll(String packageName)

Handle the side-channelled cancelling of all notifications for a package.

abstract void notify(String packageName, int id, String tag, Notification notification)

Handle a side-channeled notification being posted.

IBinder onBind(Intent intent)

Inherited methods

From class
From class android.content.ContextWrapper