java.lang.Object | |
↳ | com.urbanairship.push.notifications.StyleNotificationExtender |
Notification builder extender to add the public notification defined by a PushMessage
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StyleNotificationExtender(Context context, PushMessage message)
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NotificationCompat.Builder | extend(NotificationCompat.Builder builder) | ||||||||||
StyleNotificationExtender |
setDefaultStyle(NotificationCompat.Style defaultStyle)
Sets the default style if
PushMessage does not define a style, or it fails to
create the style. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
androidx.core.app.NotificationCompat.Extender
|
Default constructor.
context | The application context. |
---|---|
message | The push message. |
Sets the default style if PushMessage
does not define a style, or it fails to
create the style.
defaultStyle | The default style. |
---|