-
- All Implemented Interfaces:
public class NotificationSetting
-
-
Method Summary
Modifier and Type Method Description StringgetIdentifier()StringgetContent()longgetFireDate()intgetDelaySeconds()StringgetDeeplink()Map<String, Object>getUserInfo()StringgetSound()StringgetTitle()static NotificationSettingbuild(String identifier, String content, long fireDate, int delaySeconds, String deeplink, Map<String, Object> userInfo, String sound, String title)Build a NotificationSetting instance used for creating the local notification. -
-
Method Detail
-
getIdentifier
String getIdentifier()
-
getContent
String getContent()
-
getFireDate
long getFireDate()
-
getDelaySeconds
int getDelaySeconds()
-
getDeeplink
String getDeeplink()
-
getUserInfo
Map<String, Object> getUserInfo()
-
build
static NotificationSetting build(String identifier, String content, long fireDate, int delaySeconds, String deeplink, Map<String, Object> userInfo, String sound, String title)
Build a NotificationSetting instance used for creating the local notification.
- Parameters:
identifier- String unique identifier for the local notificationcontent- String notification message contentfireDate-longcontaining a specific date and time to show the notification, represented as number of seconds since epochdelaySeconds- int number of seconds to wait before displaying this local notificationdeeplink- String the link to be opened on notification clickthroughuserInfo-Map<String, Object>of additional data for the local notificationsound-Stringcontaining a custom sound to play when the notification is showntitle- (@code String} notification message title
-
-
-
-