| Constructor and Description |
|---|
PushoverMessage(String userToken,
String appToken,
String extraMessage)
Creates a new Pushover message based on the given parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
highPriority()
Indicates that this is a high priority message
|
void |
lowPriority()
Indicates that this is a low priority message
|
void |
normalPriority()
Indicates that this is a normal priority message
|
void |
send()
Sends the message
|
void |
setContent(String content)
Sets the content of this message
|
void |
setTitle(String title)
Sets the title for this message
|
void |
setUrl(String url,
String title)
Sets the url for this message
|
public void setContent(String content)
MessagesetContent in interface Messagecontent - the content to setpublic void setTitle(String title)
Messagepublic void setUrl(String url, String title)
Messagepublic void highPriority()
MessagehighPriority in interface Messagepublic void normalPriority()
MessagenormalPriority in interface Messagepublic void lowPriority()
MessagelowPriority in interface MessageCopyright © 2016–2017. All rights reserved.