setBadgeLabel

fun setBadgeLabel(label: String = definedExternally): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.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.