Action.Builder
class Action.Builder
A builder for Action
Summary
Public constructors |
|---|
Builder(title: CharSequence, pendingIntent: PendingIntent) |
Public functions |
|
|---|---|
Action |
build()Builds an instance of |
Action.Builder |
setSubtitle(subtitle: CharSequence?)Sets a sub title to be shown on the UI with this entry |
Public constructors
Builder
Builder(title: CharSequence, pendingIntent: PendingIntent)
| Parameters | |
|---|---|
title: CharSequence |
the title of this action entry |
pendingIntent: PendingIntent |
the |
Public functions
build
fun build(): Action
Builds an instance of Action
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
If |
setSubtitle
fun setSubtitle(subtitle: CharSequence?): Action.Builder
Sets a sub title to be shown on the UI with this entry