toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship.push.notifications
/
NotificationActionButton
Notification
Action
Button
open
class
NotificationActionButton
Model object encapsulating the data relevant to a notification action button.
Members
Types
Builder
Link copied to clipboard
open
class
Builder
Builds the NotificationAction.
Properties
description
Link copied to clipboard
@get:
Nullable
val
description
:
String
extras
Link copied to clipboard
@get:
NonNull
val
extras
:
Bundle
id
Link copied to clipboard
@get:
NonNull
val
id
:
String
is
Foreground
Action
Link copied to clipboard
val
isForegroundAction
:
Boolean
remote
Inputs
Link copied to clipboard
@get:
Nullable
val
remoteInputs
:
List
<
LocalizableRemoteInput
>
Functions
get
Icon
Link copied to clipboard
@
DrawableRes
open
fun
getIcon
(
)
:
Int
Gets the button's icon.
get
Label
Link copied to clipboard
@
Nullable
open
fun
getLabel
(
@
NonNull
context
:
Context
)
:
String
Gets the button's label.
new
Builder
Link copied to clipboard
@
NonNull
open
fun
newBuilder
(
@
NonNull
buttonId
:
String
)
:
NotificationActionButton.Builder
Creates a new Builder from a button ID.