setForegroundNotification
fun setForegroundNotification(title: String, body: String, subText: String? = null, progress: Pair<Int, Int>? = null, silent: Boolean = false, canCancel: Boolean = false)(source)
Executes the setForegroundNotification step in the SDAI background work feature layer.
Author
Dmitriy Moroz
Parameters
title
title value consumed by the API.
body
body value consumed by the API.
subText
sub text value consumed by the API.
progress
progress value consumed by the API.
silent
silent value consumed by the API.
canCancel
can cancel value consumed by the API.