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

    Constructors

    Properties

    Methods

    Constructors

    Properties

    identifier: string

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

    Methods

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

      Returns void