java.lang.Object | |
↳ | com.urbanairship.push.notifications.PublicNotificationExtender |
Notification builder extender to add the public notification defined by a PushMessage
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PublicNotificationExtender(Context context, NotificationArguments arguments)
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NotificationCompat.Builder | extend(NotificationCompat.Builder builder) | ||||||||||
PublicNotificationExtender |
setAccentColor(int accentColor)
Sets the accent color.
| ||||||||||
PublicNotificationExtender |
setLargeIcon(int largeIcon)
Sets the large icon.
| ||||||||||
PublicNotificationExtender |
setSmallIcon(int smallIcon)
Sets the small icon.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
androidx.core.app.NotificationCompat.Extender
|
Default constructor.
context | The application context. |
---|---|
arguments | The notification arguments. |
Sets the accent color.
accentColor | The notification's accent color. |
---|
Sets the large icon.
largeIcon | The large icon. |
---|
Sets the small icon.
smallIcon | The small icon. |
---|