setBadgeLabel

fun setBadgeLabel(label: String = definedExternally): Promise<Void>(source)

Sets the badge cont macOS only.

Return

A promise indicating the success or failure of the operation.

Parameters

label

The badge label. Use undefined to remove the badge.