-
public final class ZTNotificationChannelConfiguration for notification channel
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringnameprivate final Stringdescriptionprivate final BooleanshowBadgeprivate final BooleanautoCancelprivate final IntegernotificationSound
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetName()final StringgetDescription()final BooleangetShowBadge()final BooleangetAutoCancel()final IntegergetNotificationSound()-
-
Constructor Detail
-
ZTNotificationChannel
ZTNotificationChannel(String id, String name, String description, Boolean showBadge, Boolean autoCancel, Integer notificationSound)
- Parameters:
id- : Channel idname- : Channel Namedescription- : Channel descriptionshowBadge- : Enable/Disable badge icon for the channelautoCancel- : Setting this flag will make it so the notification is automatically canceled when the user clicks it in the panel.notificationSound- : Resource id for the explicit sound file
-
-
Method Detail
-
getDescription
final String getDescription()
-
getShowBadge
final Boolean getShowBadge()
-
getAutoCancel
final Boolean getAutoCancel()
-
getNotificationSound
final Integer getNotificationSound()
-
-
-
-