class TeakNotification
An app-to-user notification received from Teak via GCM.
Static Attributes
Name | Type | Description |
---|---|---|
|
The Intent action sent by Teak when a notification has been opened by the user. |
|
|
The Intent action sent by Teak when a notification has been cleared by the user. |
Static Methods
scheduleNotification
Use Teak.Notification#schedule(String, long, Map) instead. |
Schedules a push notification for some time in the future.
FutureTask<String> scheduleNotification(final String creativeId,
final String defaultMessage,
final long delayInSeconds);
Return
The identifier of the scheduled notification (see TeakNotification#cancelNotification(String) or null.
scheduleNotification
Schedules a push notification, to be delivered to other users, for some time in the future.
FutureTask<String> scheduleNotification(final String creativeId,
final long delayInSeconds,
final String[] userIds);
Return
The identifiers of the scheduled notifications (see TeakNotification#cancelNotification(String) or null.
cancelNotification
Cancel a push notification that was scheduled with TeakNotification#scheduleNotification(String, String, long).
FutureTask<String> cancelNotification(final String scheduleId);
Parameters
Name | Description |
---|---|
|
Id returned by TeakNotification#scheduleNotification(String, String, long) |