Notification Configuration
class NotificationConfiguration(enabled: Boolean, @DrawableRes() resIcon: Int, title: String, text: String, tickerText: String?, sendButtonText: String?, @DrawableRes() resSendButtonIcon: Int, discardButtonText: String?, @DrawableRes() resDiscardButtonIcon: Int, channelName: String, channelDescription: String?, channelImportance: Int, sendWithCommentButtonText: String?, @DrawableRes() resSendWithCommentButtonIcon: Int, commentPrompt: String?, sendOnClick: Boolean) : Configuration
Content copied to clipboard
Author
F43nd1r
Since
15.09.2017
Constructors
NotificationConfiguration
Link copied to clipboard
fun NotificationConfiguration(enabled: Boolean = true, @DrawableRes() resIcon: Int = android.R.drawable.stat_sys_warning, title: String, text: String, tickerText: String? = null, sendButtonText: String? = null, @DrawableRes() resSendButtonIcon: Int = android.R.drawable.ic_menu_send, discardButtonText: String? = null, @DrawableRes() resDiscardButtonIcon: Int = android.R.drawable.ic_menu_delete, channelName: String, channelDescription: String? = null, channelImportance: Int = 4, sendWithCommentButtonText: String? = null, @DrawableRes() resSendWithCommentButtonIcon: Int = android.R.drawable.ic_menu_send, commentPrompt: String? = null, sendOnClick: Boolean = false)
Content copied to clipboard
Functions
Properties
channelDescription
Link copied to clipboard
channelImportance
Link copied to clipboard
channelName
Link copied to clipboard
commentPrompt
Link copied to clipboard
discardButtonText
Link copied to clipboard
discard button text shown in expanded viewdefaults to android.R.string.cancel
resDiscardButtonIcon
Link copied to clipboard
resSendButtonIcon
Link copied to clipboard
resSendWithCommentButtonIcon
Link copied to clipboard
sendButtonText
Link copied to clipboard
send button text shown in expanded viewdefaults to android.R.string.ok
sendOnClick
Link copied to clipboard
sendWithCommentButtonText
Link copied to clipboard
tickerText
Link copied to clipboard