Action

Class of android.app, in Notification · Notification.java · Android's reference

public static class Action implements android.os.Parcelable

Nested types

Fields

public static final int SEMANTIC_ACTION_NONE = 0 source
public static final int SEMANTIC_ACTION_REPLY = 1 source
public static final int SEMANTIC_ACTION_MARK_AS_READ = 2 source
public static final int SEMANTIC_ACTION_MARK_AS_UNREAD = 3 source
public static final int SEMANTIC_ACTION_DELETE = 4 source
public static final int SEMANTIC_ACTION_ARCHIVE = 5 source
public static final int SEMANTIC_ACTION_MUTE = 6 source
public static final int SEMANTIC_ACTION_UNMUTE = 7 source
public static final int SEMANTIC_ACTION_THUMBS_UP = 8 source
public static final int SEMANTIC_ACTION_THUMBS_DOWN = 9 source
public static final int SEMANTIC_ACTION_CALL = 10 source
public int icon deprecated source
public CharSequence title source
public PendingIntent actionIntent source

Constructors

public Action(int icon, CharSequence title, PendingIntent intent) deprecated source

Methods

public Icon getIcon() source
public Bundle getExtras() source
public RemoteInput[] getRemoteInputs() source
public boolean getAllowGeneratedReplies() source
public int getSemanticAction() source
public boolean isContextual() source
public boolean isAuthenticationRequired() source
public int describeContents() source
public void writeToParcel(android.os.Parcel out, int f) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.