NotificationContentProvider
Known Indirect Subclasses
|
This interface is used by ForegroundServiceManager
to provide the notification content
when a persistent notification is shared. Clients should extend NotificationContentProviderBase
if they wish to control the content of the persistent
notification. The notification can also support its own click handling and intent firing.
Public Methods
public
abstract
Notification
getNotification
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-29 UTC.
[null,null,["Last updated 2025-04-29 UTC."],[[["`NotificationContentProvider` allows customization of persistent notifications in navigation services."],["Clients should extend `NotificationContentProviderBase` to control notification content and behavior."],["The `getNotification()` method is used to retrieve the customized `Notification` object."],["`ForegroundServiceManager` uses this interface to display shared persistent notifications."]]],[]]