API Reference > imodeljs-frontend > Notifications > ActivityMessageDetails ActivityMessageDetails Class Specifies the details of an activity message to be displayed to the user. Methods Name Description constructor(showProgressBar: boolean, showPercentInMessage: boolean, supportsCancellation: boolean, showDialogInitially: boolean = true): ActivityMessageDetails onActivityCancelled(): void Called from NotificationAdmin when the user cancels the activity. onActivityCompleted(): void Called from NotificationAdmin when the activity completes successfully. Properties Name Type Description showDialogInitially boolean showPercentInMessage boolean showProgressBar boolean supportsCancellation boolean wasCancelled boolean Defined in core/frontend/src/NotificationManager.ts Line 151 Last Updated: 12 June, 2024