public class TooleapNotificationHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
buildAndNotify()
Post a notification to be shown.
|
TooleapNotificationHelper |
incrementBadge()
Increment by 1 the current numeric value of the notification badge.
|
TooleapNotificationHelper |
setContentText(java.lang.CharSequence contentText)
Set the second line of text in the applications menu.
|
TooleapNotificationHelper |
setNotificationText(java.lang.CharSequence notificationText)
Set the text that is displayed in the text balloon when the notification first arrives.
|
TooleapNotificationHelper |
setWhen(java.util.Date when)
Add a timestamp pertaining to the notification (usually the time the event occurred).
|
public TooleapNotificationHelper incrementBadge()
TooleapMiniApp.notificationBadgeNumber,
Tooleap.getMiniAppNotificationBadge(long)public TooleapNotificationHelper setContentText(java.lang.CharSequence contentText)
TooleapMiniApp.contentTextpublic TooleapNotificationHelper setNotificationText(java.lang.CharSequence notificationText)
TooleapMiniApp.notificationTextpublic TooleapNotificationHelper setWhen(java.util.Date when)
TooleapMiniApp.whenpublic boolean buildAndNotify()
Tooleap.updateMiniAppAndNotify(long, TooleapMiniApp)