- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file PushMessage.java.
◆ badge()
PushMessage org.turro.push.PushMessage.badge |
( |
String |
badge | ) |
|
◆ click()
PushMessage org.turro.push.PushMessage.click |
( |
String |
target | ) |
|
◆ icon()
PushMessage org.turro.push.PushMessage.icon |
( |
String |
icon | ) |
|
◆ json()
String org.turro.push.PushMessage.json |
( |
| ) |
|
Definition at line 68 of file PushMessage.java.
69 String imageFolder = ElephantContext.getRootWebPath() +
"/_internal/repository/push/";
70 json.write(
"tag", tag)
71 .write(
"primaryKey", primaryKey)
72 .write(
"icon", imageFolder + icon)
73 .write(
"badge", imageFolder + badge)
76 return writer.toString();
◆ message()
PushMessage org.turro.push.PushMessage.message |
( |
String |
message | ) |
|
Definition at line 38 of file PushMessage.java.
39 json.write(
"message", Strings.truncate(
message, 240));
PushMessage message(String message)
◆ primaryKey()
PushMessage org.turro.push.PushMessage.primaryKey |
( |
String |
primaryKey | ) |
|
◆ tag()
PushMessage org.turro.push.PushMessage.tag |
( |
String |
tag | ) |
|
◆ title()
static PushMessage org.turro.push.PushMessage.title |
( |
String |
title | ) |
|
|
static |
Definition at line 79 of file PushMessage.java.
80 return new PushMessage(
title);
static PushMessage title(String title)
The documentation for this class was generated from the following file: