hammerspoon2-docs
    Preparing search index...

    Class HSNotification

    A notification created by hs.notify.new().

    Call .send() to deliver it to macOS Notification Center. You can hold a reference to the object and call .withdraw() later to remove it.

    Index
    identifier: string

    The unique identifier assigned to this notification. Use it to correlate with system notification APIs if needed.

    • Remove this notification from Notification Center (if delivered) or cancel it (if pending).

      Returns void