Package-level declarations

Types

Link copied to clipboard

Represents the base class for all the push related service.

Link copied to clipboard
interface ForegroundPushNotificationReady : Serializable

Callback to decide if show the notification.

Link copied to clipboard
data class NotificationChannelConfig(val channelID: String, val channelName: String, val description: String, val importance: Int, val enableLights: Boolean, val lightColor: Int, val enableVibration: Boolean, val vibrationPattern: LongArray, val enableBadge: Boolean)

Notification channel config

Link copied to clipboard
data class NotificationConfig(val smallIcon: Int, val largeIcon: Int, val notificationTime: Long, val isAutoCancel: Boolean, val badgeIconType: Int, val cancelButtonIcon: Int, val cancelButtonDescription: String)

Notification style config

Link copied to clipboard
class NotificationDismissedReceiver : BroadcastReceiver
Link copied to clipboard
data class NotificationJob(val isForeground: Boolean, val pushRemoteMessage: PushRemoteMessage, val foregroundPushNotificationReady: ForegroundPushNotificationReady? = null) : Serializable

Notification job which will be restored and display when condition ready.

Link copied to clipboard
class NotificationTrampolineActivity : AppCompatActivity
Link copied to clipboard

callBack to receive the message sent from push

Link copied to clipboard
class PushRemoteMessage : Parcelable, Serializable

notification model

Link copied to clipboard
data class PushServiceConfig(val notificationChannel: NotificationChannelConfig, val notificationConfig: NotificationConfig)

Push config for notification channel and notification style

Link copied to clipboard
object PushUtil
Link copied to clipboard

Provides an API interface for managing notification-related parameters with mobile services. The notification token is obtained using the FireBase (FCM) API or any push notification channel API. The ability to obtain the push token is not included as part of this interface.

Link copied to clipboard

RemoteNotificationParameters class provides an API for managing the Notification configuration parameters. Obtaining token is not part of this interface.