Companion

object Companion

Properties

Link copied to clipboard

The channel id of the default notification channel created be the SDK.

Link copied to clipboard

The channel id of the default foreground notification channel created be the SDK.

Link copied to clipboard
const val TAG: String

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

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, 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 [ ].