public class NotificationOptions extends JsonBean
Modifier and Type | Field and Description |
---|---|
static String |
STICKY_STICKY |
static String |
STICKY_TRANSIENT |
Constructor and Description |
---|
NotificationOptions(org.json.JSONObject json) |
NotificationOptions(String title,
String body,
String category) |
Modifier and Type | Method and Description |
---|---|
String |
getBody() |
ButtonOptions[] |
getButtons() |
String |
getCategory() |
CustomData |
getCustomData() |
Date |
getDate() |
Date |
getExpires() |
String |
getIcon() |
String |
getId() |
NotificationIndicator |
getIndicator() |
NotificationActionResult |
getOnClose() |
NotificationActionResult |
getOnExpire() |
NotificationActionResult |
getOnSelect() |
String |
getSticky() |
String |
getTitle() |
void |
setButtons(ButtonOptions... buttons) |
void |
setCustomData(CustomData customData) |
void |
setDate(Date date) |
void |
setExpires(Date date) |
void |
setIcon(String icon) |
void |
setId(String id) |
void |
setIndicator(NotificationIndicator indicator) |
void |
setOnClose(NotificationActionResult onClose) |
void |
setOnExpire(NotificationActionResult onExpire) |
void |
setOnSelect(NotificationActionResult onSelect) |
void |
setSticky(String sticky) |
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJson, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
public static final String STICKY_STICKY
public static final String STICKY_TRANSIENT
public String getBody()
public String getCategory()
public Date getDate()
public void setDate(Date date)
public Date getExpires()
public void setExpires(Date date)
public String getId()
public void setId(String id)
public String getIcon()
public void setIcon(String icon)
public String getSticky()
public void setSticky(String sticky)
public NotificationIndicator getIndicator()
public void setIndicator(NotificationIndicator indicator)
public String getTitle()
public void setButtons(ButtonOptions... buttons)
public ButtonOptions[] getButtons()
public NotificationActionResult getOnClose()
public void setOnClose(NotificationActionResult onClose)
public NotificationActionResult getOnExpire()
public void setOnExpire(NotificationActionResult onExpire)
public NotificationActionResult getOnSelect()
public void setOnSelect(NotificationActionResult onSelect)
public CustomData getCustomData()
public void setCustomData(CustomData customData)
Copyright © 2022. All rights reserved.