@Deprecated public class NotificationOptions extends Object
Notifications instead.
Helper object that provides getters/setters for the
various options needed for creating a Notification.| Constructor and Description |
|---|
NotificationOptions(String url)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getMessage()
Deprecated.
Gets Message property of the notification
|
String |
getMessageText()
Deprecated.
Gets Message property of the notification as String
|
Integer |
getTimeout()
Deprecated.
Gets timeout property of the notification
|
String |
getURL()
Deprecated.
Gets URL property of the notification
|
void |
setMessage(org.json.JSONObject message)
Deprecated.
Sets Message property of the notification
|
void |
setMessageText(String message)
Deprecated.
Sets Message property of the notification as String
|
void |
setTimeout(Integer timeout)
Deprecated.
Sets timeout property of the notification
|
void |
setURL(String url)
Deprecated.
Sets URL property of the notification
|
public NotificationOptions(String url)
public String getURL()
public void setURL(String url)
url - URL of the notificationpublic org.json.JSONObject getMessage()
public void setMessage(org.json.JSONObject message)
message - value of messagepublic String getMessageText()
public void setMessageText(String message)
message - text of the messagepublic Integer getTimeout()
public void setTimeout(Integer timeout)
timeout - in millisecondsCopyright © 2021. All rights reserved.