public final class NotificationButton
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSUME_ACTION |
static java.lang.String |
IGNORE_ACTION |
Modifier and Type | Method and Description |
---|---|
static NotificationButton |
create(java.lang.String title,
java.lang.String id)
Create a new notification button.
|
java.lang.String |
getId() |
java.lang.String |
getTitle() |
public static final java.lang.String CONSUME_ACTION
public static final java.lang.String IGNORE_ACTION
public static NotificationButton create(java.lang.String title, java.lang.String id)
title
- title of the button.id
- ID of action. Could be one CONSUME_ACTION
, IGNORE_ACTION
or custom action.public java.lang.String getTitle()
public java.lang.String getId()
CONSUME_ACTION
, IGNORE_ACTION
or custom action.(c) Copyright GetSocial BV, 2022. All Rights Reserved.