DropletNotificationAction

One button under a droplet notification (1.23.0).

struct DropletNotificationAction

Available from DroppyKit 1.23.0.

Initializers

init(id:title:)

init(id: String, title: String)

Creates an action.

Properties

id

let id: String

Stable id, unique within the notification. Comes back in action(id:actionID:).

title

let title: String

The button's title, sentence case, a word or two.