Builder

data class Builder(val context: Context, val channelId: String, val channelName: String, val type: CallNotification.Type, isHighImportance: Boolean = false, enableCallStyle: Boolean = true, color: Int? = null, user: String? = null, enableTimer: Boolean = false, contentText: String? = null, contentIntent: PendingIntent? = null, fullscreenIntent: PendingIntent? = null, answerIntent: PendingIntent? = null, declineIntent: PendingIntent? = null, screenShareIntent: PendingIntent? = null)

Builder

Constructors

Link copied to clipboard
constructor(context: Context, channelId: String, channelName: String, type: CallNotification.Type, isHighImportance: Boolean = false, enableCallStyle: Boolean = true, color: Int? = null, user: String? = null, enableTimer: Boolean = false, contentText: String? = null, contentIntent: PendingIntent? = null, fullscreenIntent: PendingIntent? = null, answerIntent: PendingIntent? = null, declineIntent: PendingIntent? = null, screenShareIntent: PendingIntent? = null)

Properties

Link copied to clipboard

The notification channel id

Link copied to clipboard

The notification channel name showed to the users

Link copied to clipboard

The context used to construct the notification

Link copied to clipboard

The notification type

Functions

Link copied to clipboard

The pending intent to be executed when the user taps the answer button

Link copied to clipboard

Build the call notification

Link copied to clipboard

Set the color used as notification accent color

Link copied to clipboard

The pending intent to be executed when the user tap on the notification

Link copied to clipboard

The text to be shown inside the notification

Link copied to clipboard

The pending intent to be executed when the user taps the decline button

Link copied to clipboard

Set the notification call style

Link copied to clipboard

The pending intent to be executed when notification is in the lock screen

Link copied to clipboard

Set the notification importance/priority

Link copied to clipboard

The pending intent to be executed when the user taps the stop screen share button

Link copied to clipboard

Enable the notification timer

Link copied to clipboard

Set the user