setBadge

fun setBadge(text: String)(source)

Sets the string to be displayed in the dock’s badging area.