setDefaultContentIntent

fun setDefaultContentIntent(contentIntent: Intent, requestCode: Int, flags: Int): NotificationConfig

Supply an Intent to send when the notification is tapped.

Return

The same NotificationConfig.

Parameters

contentIntent

Explicit Intent of the Activity, Service, or BroadcastReceiver to be launched.

requestCode

Private request code for the sender

flags

May be FLAG_ONE_SHOT, FLAG_NO_CREATE, FLAG_CANCEL_CURRENT, FLAG_UPDATE_CURRENT, or any of the flags as supported by Intent.fillIn() to control which unspecified parts of the intent that can be supplied when the actual send happens.