toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship.push.notifications
/
PublicNotificationExtender
Public
Notification
Extender
open
class
PublicNotificationExtender
:
NotificationCompat.Extender
Notification builder extender to add the public notification defined by a
PushMessage
.
Members
Constructors
Public
Notification
Extender
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
,
@
NonNull
arguments
:
NotificationArguments
)
Default constructor.
Functions
extend
Link copied to clipboard
@
NonNull
open
fun
extend
(
@
NonNull
builder
:
NotificationCompat.Builder
)
:
NotificationCompat.Builder
set
Accent
Color
Link copied to clipboard
@
NonNull
open
fun
setAccentColor
(
@
ColorInt
accentColor
:
Int
)
:
PublicNotificationExtender
Sets the accent color.
set
Large
Icon
Link copied to clipboard
@
NonNull
open
fun
setLargeIcon
(
@
DrawableRes
largeIcon
:
Int
)
:
PublicNotificationExtender
Sets the large icon.
set
Small
Icon
Link copied to clipboard
@
NonNull
open
fun
setSmallIcon
(
@
DrawableRes
smallIcon
:
Int
)
:
PublicNotificationExtender
Sets the small icon.