update


Description:

public bool update (string summary, string? body, string? icon)

Updates the notification text and icon.

This won't send the update out and display it on the screen. For that, you will need to call [method@Notification.show].

Parameters:

this

The notification to update.

summary

The new required summary text.

body

The optional body text.

icon

The optional icon theme icon name or filename.

Returns:

true, unless an invalid parameter was passed.