added in version 22.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
NotificationCompatSideChannelService
public
abstract
class
NotificationCompatSideChannelService
extends Service
java.lang.Object | ||||
↳ | android.content.Context | |||
↳ | android.content.ContextWrapper | |||
↳ | android.app.Service | |||
↳ | android.support.v4.app.NotificationCompatSideChannelService |
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"> <intent-filter> <action android:name="android.support.BIND_NOTIFICATION_SIDE_CHANNEL" /> </intent-filter> </service>
Summary
Inherited constants |
---|
![]()
android.app.Service
|
![]()
android.content.Context
|