belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
NotificationCompat.Action.Builder
public
static
final
class
NotificationCompat.Action.Builder
extends Object
java.lang.Object | |
↳ | android.support.v4.app.NotificationCompat.Action.Builder |
Builder class for NotificationCompat.Action
objects.
Summary
Public constructors | |
---|---|
NotificationCompat.Action.Builder(int icon, CharSequence title, PendingIntent intent)
Construct a new builder for |
|
NotificationCompat.Action.Builder(NotificationCompat.Action action)
Construct a new builder for |
Public methods | |
---|---|
NotificationCompat.Action.Builder
|
addExtras(Bundle extras)
Merge additional metadata into this builder. |
NotificationCompat.Action.Builder
|
addRemoteInput(RemoteInput remoteInput)
Add an input to be collected from the user when this action is sent. |
NotificationCompat.Action
|
build()
Combine all of the options that have been set and return a new |
NotificationCompat.Action.Builder
|
extend(NotificationCompat.Action.Extender extender)
Apply an extender to this action builder. |
Bundle
|
getExtras()
Get the metadata Bundle used by this Builder. |
NotificationCompat.Action.Builder
|
setAllowGeneratedReplies(boolean allowGeneratedReplies)
Set whether the platform should automatically generate possible replies to add to
|
NotificationCompat.Action.Builder
|
setSemanticAction(int semanticAction)
Sets the |
NotificationCompat.Action.Builder
|
setShowsUserInterface(boolean showsUserInterface)
Set whether or not this |
Inherited methods | |
---|---|
![]()
java.lang.Object
|