-
public final class ZTNotificationConfigNotification configuration data.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegersmallIconprivate final Integercolorprivate final BooleanenableAppLaunchprivate final ZTNotificationChannelnotificationChannel
-
Constructor Summary
Constructors Constructor Description ZTNotificationConfig(Integer smallIcon, Integer color, Boolean enableAppLaunch, ZTNotificationChannel notificationChannel)
-
Method Summary
Modifier and Type Method Description final IntegergetSmallIcon()final IntegergetColor()final BooleangetEnableAppLaunch()final ZTNotificationChannelgetNotificationChannel()-
-
Constructor Detail
-
ZTNotificationConfig
ZTNotificationConfig(Integer smallIcon, Integer color, Boolean enableAppLaunch, ZTNotificationChannel notificationChannel)
- Parameters:
smallIcon- Set the small icon to use in the notification layouts.color- Accent color to be applied to the notification.enableAppLaunch- Enable SDK launch the application, when notification actions are missing in payload.notificationChannel- Notification channel info.
-
-
Method Detail
-
getSmallIcon
final Integer getSmallIcon()
-
getEnableAppLaunch
final Boolean getEnableAppLaunch()
-
getNotificationChannel
final ZTNotificationChannel getNotificationChannel()
-
-
-
-