The Toast API provides a way to display non-blocking notification messages to users. These are useful for providing feedback without interrupting workflow.
app.extensionManager.toast.add({ severity?: "success" | "info" | "warn" | "error" | "secondary" | "contrast", // Message severity level (default: "info") summary?: string, // Short title for the toast detail?: any, // Detailed message content closable?: boolean, // Whether user can close the toast (default: true) life?: number, // Duration in milliseconds before auto-closing group?: string, // Group identifier for managing related toasts styleClass?: any, // Style class of the message contentStyleClass?: any // Style class of the content});