Companion
object Companion
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Will cancel the notification associated with the provided message.
Link copied to clipboard
Will create the default notification channel used by the SDK only if it does not already exist.
Will create the default notification channel used by the SDK.
Link copied to clipboard
Will create the foreground notification channel used by the SDK only if it does not already exist.
Link copied to clipboard
Extracts the NotificationMessage from the Intent.
Link copied to clipboard
fun getDefaultNotificationBuilder(context: Context, message: NotificationMessage, channelId: String, @DrawableRes smallIconResId: Int): NotificationCompat.Builder
This method will build out a NotificationCompat.Builder with the defaults typically used by the SDK. It will set the following:
Link copied to clipboard
fun redirectIntentForAnalytics(context: Context, openIntent: PendingIntent, message: RemoteMessage, autoCancel: Boolean): PendingIntent?
fun redirectIntentForAnalytics(context: Context, openIntent: PendingIntent, message: NotificationMessage, autoCancel: Boolean): PendingIntent
fun redirectIntentForAnalytics(context: Context, openIntent: PendingIntent, message: NotificationMessage, autoCancel: Boolean, bundle: Bundle?): PendingIntent
Returns a PendingIntent that will redirect to our internal Service to handle notification opened analytics. Once the analytic has been logged it will redirect the application to the provided [ ].